[PATCH] D74228: [PatternMatch] Match XOR variant of unsigned-add overflow check.
Florian Hahn via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Feb 18 14:44:06 PST 2020
fhahn updated this revision to Diff 245278.
fhahn added a comment.
Actually update to match `b u> (a ^ -1)`. Remove m_c_Xor again. I'll make sure the code in PatternMatch.h stays at its current position.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D74228/new/
https://reviews.llvm.org/D74228
Files:
llvm/include/llvm/IR/PatternMatch.h
llvm/lib/CodeGen/CodeGenPrepare.cpp
llvm/lib/Transforms/InstCombine/InstCombineCompares.cpp
llvm/test/Transforms/CodeGenPrepare/AArch64/overflow-intrinsics.ll
llvm/test/Transforms/CodeGenPrepare/X86/overflow-intrinsics.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D74228.245278.patch
Type: text/x-patch
Size: 8805 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200218/7a63aab7/attachment.bin>
More information about the llvm-commits
mailing list