aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/ToolDrivers/llvm-lib/LibDriver.cpp
diff options
context:
space:
mode:
authorChenbing Zheng <Chenbing.Zheng@streamcomputing.com>2022-12-23 11:51:20 +0800
committerBen Shi <powerman1st@163.com>2022-12-23 11:56:52 +0800
commitbff1f8c79beeb8f83b37be1fb23fa44330799250 (patch)
tree14000aa831cf98023136d175adcf8fa6bab14ecc /llvm/lib/ToolDrivers/llvm-lib/LibDriver.cpp
parent0224bdce9263b74806b94426b33e97e030ab7a79 (diff)
downloadllvm-bff1f8c79beeb8f83b37be1fb23fa44330799250.zip
llvm-bff1f8c79beeb8f83b37be1fb23fa44330799250.tar.gz
llvm-bff1f8c79beeb8f83b37be1fb23fa44330799250.tar.bz2
[InstCombine] complete (X << Z) / (Y << Z) --> X / Y
Add one more situations for this fold. For unsigned div, 'nsw' on both shifts + 'nuw' on the dividend. Alive2: https://alive2.llvm.org/ce/z/sELF76 Reviewed By: spatel Differential Revision: https://reviews.llvm.org/D139997
Diffstat (limited to 'llvm/lib/ToolDrivers/llvm-lib/LibDriver.cpp')
0 files changed, 0 insertions, 0 deletions