[PATCH] D50465: [InstCombine] Optimize redundant 'signed truncation check pattern'.
Roman Lebedev via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Aug 13 14:51:57 PDT 2018
lebedev.ri updated this revision to Diff 160454.
lebedev.ri added a comment.
Test + less eager assert.
We can indeed do that fold: https://rise4fun.com/Alive/0lz
Repository:
rL LLVM
https://reviews.llvm.org/D50465
Files:
lib/Transforms/InstCombine/InstCombineAndOrXor.cpp
test/Transforms/InstCombine/signed-truncation-check.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D50465.160454.patch
Type: text/x-patch
Size: 12599 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180813/71771c6a/attachment.bin>
More information about the llvm-commits
mailing list