[PATCH] x86 NaCl: Emit LAHF/SAHF instead of PUSHF/POPF

Jan Voung jvoung at chromium.org
Mon Dec 15 17:24:42 PST 2014


================
Comment at: test/CodeGen/X86/cmpxchg-clobber-flags.ll:5
@@ +4,3 @@
+; RUN: llc -mtriple=x86_64-unknown-linux -pre-RA-sched=fast %s -o - | FileCheck %s
+; RUN: llc -mtriple=i386-unknown-nacl %s -o - | FileCheck %s -check-prefix=NACL
+; RUN: llc -mtriple=i386-unknown-nacl -pre-RA-sched=fast %s -o - | FileCheck %s -check-prefix=NACL
----------------
IIRC adding "-verify-machineinstr" to these test commandline flags can help check that the liveness info is correct, so it might help verify that you have the right kill states.

http://reviews.llvm.org/D6629

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/






More information about the llvm-commits mailing list