summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/Scalar
diff options
context:
space:
mode:
authorSimon Dardis <simon.dardis@imgtec.com>2016-04-22 13:19:22 +0000
committerSimon Dardis <simon.dardis@imgtec.com>2016-04-22 13:19:22 +0000
commit5676d06aefe9cda80b7e65b8a700a2896970e4f5 (patch)
tree2cb1379380e903c6128644517a39ce72ec3efde3 /llvm/lib/Transforms/Scalar
parentde9b8b40aafda832342b2dca3a707579e4388688 (diff)
downloadbcm5719-llvm-5676d06aefe9cda80b7e65b8a700a2896970e4f5.tar.gz
bcm5719-llvm-5676d06aefe9cda80b7e65b8a700a2896970e4f5.zip
[mips] Fix select patterns for MIPS64
When targetting MIPS64R6 some of the patterns for select were guarded by a broken predicate. The predicate was supposed to test if a constant value could fit in a 16 bit zero-extended field. Instead the value was tested to fit in a 16 bit sign-extended field. For negative constants of native word width this resulted in wrong code generation. Reviewers: vkalintiris, dsanders Differential Review: http://reviews.llvm.org/D19378 llvm-svn: 267151
Diffstat (limited to 'llvm/lib/Transforms/Scalar')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud