diff options
| author | Andreas Jonson <andjo403@users.noreply.github.com> | 2021-11-14 14:01:30 +0100 |
|---|---|---|
| committer | Andreas Jonson <andjo403@users.noreply.github.com> | 2021-11-14 16:35:09 +0100 |
| commit | a912fedd0fb2ffc6927e2116110dc94ed3e45336 (patch) | |
| tree | b06ea5f2100306b5109218f820ae77720adb8288 | |
| parent | d5a6aafb8847eeae39f23f852dd33e32ca2ca914 (diff) | |
| download | rust-a912fedd0fb2ffc6927e2116110dc94ed3e45336.tar.gz rust-a912fedd0fb2ffc6927e2116110dc94ed3e45336.zip | |
Remove workaround for the forward progress handling in LLVM
| -rw-r--r-- | src/intrinsic/mod.rs | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/intrinsic/mod.rs b/src/intrinsic/mod.rs index 64bd586662d..f3a2382ef32 100644 --- a/src/intrinsic/mod.rs +++ b/src/intrinsic/mod.rs @@ -316,7 +316,7 @@ impl<'a, 'gcc, 'tcx> IntrinsicCallMethods<'tcx> for Builder<'a, 'gcc, 'tcx> { extended_asm.add_input_operand(None, "r", result.llval); extended_asm.add_clobber("memory"); extended_asm.set_volatile_flag(true); - + // We have copied the value to `result` already. return; } @@ -363,10 +363,6 @@ impl<'a, 'gcc, 'tcx> IntrinsicCallMethods<'tcx> for Builder<'a, 'gcc, 'tcx> { cond } - fn sideeffect(&mut self) { - // TODO(antoyo) - } - fn type_test(&mut self, _pointer: Self::Value, _typeid: Self::Value) -> Self::Value { // Unsupported. self.context.new_rvalue_from_int(self.int_type, 0) |
