[PATCH] D38161: [X86] Improve codegen for inverted overflow checking intrinsics
Amara Emerson via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Sep 21 17:19:16 PDT 2017
aemerson created this revision.
Herald added a subscriber: kristof.beyls.
[X86] Improve codegen for inverted overflow checking intrinsics.
Adds a new combine for: xor(setcc cc, val), 1 --> setcc (invert(cc), val)
This is the same optimization as the one for AArch64 in https://reviews.llvm.org/D38160 but implemented in a different way.
Repository:
rL LLVM
https://reviews.llvm.org/D38161
Files:
lib/Target/X86/X86ISelLowering.cpp
test/CodeGen/X86/overflow-intrinsic-setcc-fold.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D38161.116292.patch
Type: text/x-patch
Size: 6102 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170922/4bb8e25a/attachment.bin>
More information about the llvm-commits
mailing list