about summary refs log tree commit diff
path: root/compiler/rustc_codegen_gcc/src
diff options
context:
space:
mode:
authorAndreas Jonson <andjo403@users.noreply.github.com>2021-11-14 14:01:30 +0100
committerAndreas Jonson <andjo403@users.noreply.github.com>2021-11-14 16:35:09 +0100
commit50ec47aa06e96a195707fb5ee92fcd32299ca272 (patch)
tree866f4b070575fc032100f6b86b62da6e012d47e4 /compiler/rustc_codegen_gcc/src
parentf820d9d4e5af7d298ffdc3145b48e206b65e8e28 (diff)
downloadrust-50ec47aa06e96a195707fb5ee92fcd32299ca272.tar.gz
rust-50ec47aa06e96a195707fb5ee92fcd32299ca272.zip
Remove workaround for the forward progress handling in LLVM
Diffstat (limited to 'compiler/rustc_codegen_gcc/src')
-rw-r--r--compiler/rustc_codegen_gcc/src/intrinsic/mod.rs6
1 files changed, 1 insertions, 5 deletions
diff --git a/compiler/rustc_codegen_gcc/src/intrinsic/mod.rs b/compiler/rustc_codegen_gcc/src/intrinsic/mod.rs
index 64bd586662d..f3a2382ef32 100644
--- a/compiler/rustc_codegen_gcc/src/intrinsic/mod.rs
+++ b/compiler/rustc_codegen_gcc/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)