summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/BranchFolding.h
diff options
context:
space:
mode:
authorPawel Bylica <chfast@gmail.com>2015-07-09 08:01:36 +0000
committerPawel Bylica <chfast@gmail.com>2015-07-09 08:01:36 +0000
commiteb122f2baf4886bc978826b9c1136b1a494136eb (patch)
treeec9154bb5be070a49a0089bc0991a493a25b0f0c /llvm/lib/CodeGen/BranchFolding.h
parent45a5bfef44c1e0a825e695ced1f9a91641042171 (diff)
downloadbcm5719-llvm-eb122f2baf4886bc978826b9c1136b1a494136eb.tar.gz
bcm5719-llvm-eb122f2baf4886bc978826b9c1136b1a494136eb.zip
Fix shift legalization and lowering for big constants.
Summary: If shift amount is a constant value > 64 bit it is handled incorrectly during type legalization and X86 lowering. This patch the type of shift amount argument in function DAGTypeLegalizer::ExpandShiftByConstant from unsigned to APInt. Reviewers: nadav, majnemer, sanjoy, RKSimon Subscribers: RKSimon, llvm-commits Differential Revision: http://reviews.llvm.org/D10767 llvm-svn: 241790
Diffstat (limited to 'llvm/lib/CodeGen/BranchFolding.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud