[PATCH] D22933: DAG: avoid truncating a sign extended operand when test equality against zero

Weiming Zhao via llvm-commits llvm-commits at lists.llvm.org
Fri Jul 29 15:48:49 PDT 2016


weimingz updated this revision to Diff 66191.
weimingz added a comment.

Thanks Eli for reviewing.
Is the tool for x86 only?

Anyway, I added some reg exp to let the CHECK rule be more generic


Repository:
  rL LLVM

https://reviews.llvm.org/D22933

Files:
  lib/CodeGen/SelectionDAG/LegalizeIntegerTypes.cpp
  test/CodeGen/AArch64/arm64-shrink-wrapping.ll
  test/CodeGen/ARM/arm-shrink-wrapping.ll
  test/CodeGen/ARM/no_redundant_trunc_for_cmp.ll
  test/CodeGen/PowerPC/ppc-shrink-wrapping.ll
  test/CodeGen/Thumb/thumb-shrink-wrapping.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D22933.66191.patch
Type: text/x-patch
Size: 7057 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160729/98eb4fc9/attachment.bin>


More information about the llvm-commits mailing list