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

JF Bastien jfb at chromium.org
Thu Dec 18 20:13:32 PST 2014


Check liveness of AX before push/pop.
SETcc takes 8-bit register AL.


http://reviews.llvm.org/D6629

Files:
  lib/Target/X86/X86InstrInfo.cpp
  test/CodeGen/X86/cmpxchg-clobber-flags.ll

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D6629.17481.patch
Type: text/x-patch
Size: 6844 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20141219/9eb3a518/attachment.bin>


More information about the llvm-commits mailing list