aboutsummaryrefslogtreecommitdiff
path: root/clang/unittests/Basic/FileManagerTest.cpp
diff options
context:
space:
mode:
authorSimon Pilgrim <llvm-dev@redking.me.uk>2022-04-07 14:33:31 +0100
committerSimon Pilgrim <llvm-dev@redking.me.uk>2022-04-07 14:33:31 +0100
commit5e90224839607b7a87f5d169e407dd5468d20265 (patch)
tree04f56389eedc516ac81ba32176ed06d52332a768 /clang/unittests/Basic/FileManagerTest.cpp
parent1c1d477ce318de067a1b04bd996859a7be338ddb (diff)
downloadllvm-5e90224839607b7a87f5d169e407dd5468d20265.zip
llvm-5e90224839607b7a87f5d169e407dd5468d20265.tar.gz
llvm-5e90224839607b7a87f5d169e407dd5468d20265.tar.bz2
[InstCombine] SimplifyDemandedUseBits - remove lshr node if we only demand known sign bit
This is a lshr equivalent to D122340 - if we don't demand any of the additional sign bits introduced by the ashr, the lshr can be treated as an ashr and we can remove the shift entirely if we only demand already known sign bits. Another step towards PR21929 https://alive2.llvm.org/ce/z/6f3kjq Differential Revision: https://reviews.llvm.org/D123118
Diffstat (limited to 'clang/unittests/Basic/FileManagerTest.cpp')
0 files changed, 0 insertions, 0 deletions