[PATCH] D38160: [AArch64] Improve codegen for inverted overflow checking intrinsics
Amara Emerson via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Sep 21 17:11:05 PDT 2017
aemerson created this revision.
Herald added subscribers: kristof.beyls, javed.absar, rengolin.
[AArch64] Improve codegen for inverted overflow checking intrinsics.
E.g. if we have a (xor(overflow-bit), 1) where overflow-bit comes from an intrinsic like llvm.sadd.with.overflow then we can kill the xor and use the inverted condition code for the CSEL.
rdar://28495949
Repository:
rL LLVM
https://reviews.llvm.org/D38160
Files:
lib/Target/AArch64/AArch64ISelLowering.cpp
test/CodeGen/AArch64/arm64-xaluo.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D38160.116289.patch
Type: text/x-patch
Size: 6321 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170922/d083265a/attachment.bin>
More information about the llvm-commits
mailing list