aboutsummaryrefslogtreecommitdiff
path: root/llvm/unittests/Support/ErrorTest.cpp
diff options
context:
space:
mode:
authorSimon Pilgrim <llvm-dev@redking.me.uk>2020-02-21 13:29:40 +0000
committerSimon Pilgrim <llvm-dev@redking.me.uk>2020-02-21 14:23:53 +0000
commit86c52af05a64c4aa9d61984eeda8fb7849a4b0fa (patch)
tree8e1e048a864131043a4a0bc7b19b8c598c1b3ec0 /llvm/unittests/Support/ErrorTest.cpp
parent35b685270b410f6a1351c2a527021f22330c25b9 (diff)
downloadllvm-86c52af05a64c4aa9d61984eeda8fb7849a4b0fa.zip
llvm-86c52af05a64c4aa9d61984eeda8fb7849a4b0fa.tar.gz
llvm-86c52af05a64c4aa9d61984eeda8fb7849a4b0fa.tar.bz2
[TargetLowering] SimplifyDemandedBits - use getValidShiftAmountConstant helper.
Use the SelectionDAG::getValidShiftAmountConstant helper to get const/constsplat shift amounts, which allows us to drop the out of range shift amount early-out. First step towards better non-uniform shift amount support in SimplifyDemandedBits.
Diffstat (limited to 'llvm/unittests/Support/ErrorTest.cpp')
0 files changed, 0 insertions, 0 deletions