[PATCH] D11696: [x86] machine combiner reassociation: mark EFLAGS operand as 'dead'

Alex Lorenz arphaman at gmail.com
Mon Aug 3 14:30:03 PDT 2015


arphaman added a subscriber: arphaman.

================
Comment at: test/CodeGen/X86/machine-combiner-int.ll:2
@@ -2,1 +1,3 @@
+; RUN: llc < %s -mtriple=x86_64-unknown-unknown -mcpu=x86-64 | FileCheck %s
+; RUN: llc < %s -mtriple=x86_64-unknown-unknown -mcpu=x86-64 -print-machineinstrs -o /dev/null 2>&1 | FileCheck %s --check-prefix=DEAD
 
----------------
Is there a specific reason you're using '-print-machineinstrs' instead of '-stop-after machine-combiner' here?

================
Comment at: test/CodeGen/X86/machine-combiner-int.ll:28
@@ +27,3 @@
+
+; DEAD-LABEL: Machine InstCombiner:
+; DEAD:       ADD32rr
----------------
This line would not be needed if you use the stop-after option that I mentioned above.


http://reviews.llvm.org/D11696







More information about the llvm-commits mailing list