[PATCH] D63812: [InstCombine] Shift amount reassociation (PR42391)
Roman Lebedev via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Jun 28 10:00:22 PDT 2019
lebedev.ri updated this revision to Diff 207078.
lebedev.ri marked 3 inline comments as done.
lebedev.ri edited the summary of this revision.
lebedev.ri added a comment.
Preserve flag (`nuw`/`nsw`/`exact`) if both shifts had it.
PTAL.
Repository:
rL LLVM
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D63812/new/
https://reviews.llvm.org/D63812
Files:
lib/Transforms/InstCombine/InstCombineShifts.cpp
test/Transforms/InstCombine/shift-amount-reassociation.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D63812.207078.patch
Type: text/x-patch
Size: 9200 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190628/f5b422b9/attachment.bin>
More information about the llvm-commits
mailing list