summaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Reader/BitcodeReader.cpp
diff options
context:
space:
mode:
authorMatt Arsenault <Matthew.Arsenault@amd.com>2019-02-07 19:37:44 +0000
committerMatt Arsenault <Matthew.Arsenault@amd.com>2019-02-07 19:37:44 +0000
commitfbec8fe93bb036113a2d7224a501b8e903ce2896 (patch)
tree01bb2b0899fa8e1fd747fcb133a2d679e4e5b468 /llvm/lib/Bitcode/Reader/BitcodeReader.cpp
parentd914189a2ec513dd49551a20757ff623a6d50476 (diff)
GlobalISel: Implement narrowScalar for shift main type
This is pretty much directly ported from SelectionDAG. Doesn't include the shift by non-constant but known bits version, since there isn't a globalisel version of computeKnownBits yet. This shows a disadvantage of targets not specifically which type should be used for the shift amount. If type 0 is legalized before type 1, the operations on the shift amount type use the wider type (which are also less likely to legalize). This can be avoided by targets specifying legalization actions on type 1 earlier than for type 0. llvm-svn: 353455
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions