[PATCH] D21774: [X86] Transform setcc + movzbl into xorl + setcc

Michael Kuperstein via llvm-commits llvm-commits at lists.llvm.org
Tue Jun 28 12:04:34 PDT 2016


mkuper updated this revision to Diff 62124.
mkuper added a comment.

I managed to confuse myself with the order of iteration, erasing the zext immediately actually shouldn't be safe - even though I don't have a case where it fails.


http://reviews.llvm.org/D21774

Files:
  lib/Target/X86/CMakeLists.txt
  lib/Target/X86/X86.h
  lib/Target/X86/X86FixupSetCC.cpp
  lib/Target/X86/X86TargetMachine.cpp
  test/CodeGen/X86/2008-08-17-UComiCodeGenBug.ll
  test/CodeGen/X86/2008-09-11-CoalescerBug2.ll
  test/CodeGen/X86/avx-intrinsics-fast-isel.ll
  test/CodeGen/X86/avx-intrinsics-x86.ll
  test/CodeGen/X86/avx512-cmp.ll
  test/CodeGen/X86/avx512-mask-op.ll
  test/CodeGen/X86/bmi.ll
  test/CodeGen/X86/cmov.ll
  test/CodeGen/X86/cmp.ll
  test/CodeGen/X86/cmpxchg-i1.ll
  test/CodeGen/X86/cmpxchg-i128-i1.ll
  test/CodeGen/X86/ctpop-combine.ll
  test/CodeGen/X86/fp128-cast.ll
  test/CodeGen/X86/fp128-compare.ll
  test/CodeGen/X86/mcinst-lowering.ll
  test/CodeGen/X86/return-ext.ll
  test/CodeGen/X86/setcc-narrowing.ll
  test/CodeGen/X86/setcc.ll
  test/CodeGen/X86/sse-intrinsics-fast-isel.ll
  test/CodeGen/X86/sse-intrinsics-x86.ll
  test/CodeGen/X86/sse2-intrinsics-fast-isel.ll
  test/CodeGen/X86/sse2-intrinsics-x86.ll
  test/CodeGen/X86/sse41-intrinsics-fast-isel.ll
  test/CodeGen/X86/sse41-intrinsics-x86.ll
  test/CodeGen/X86/sse41.ll
  test/CodeGen/X86/sse42-intrinsics-fast-isel.ll
  test/CodeGen/X86/sse42-intrinsics-x86.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D21774.62124.patch
Type: text/x-patch
Size: 91141 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160628/bb00a3a2/attachment.bin>


More information about the llvm-commits mailing list