| commit | 5676d06aefe9cda80b7e65b8a700a2896970e4f5 | [log] [tgz] |
|---|---|---|
| author | Simon Dardis <simon.dardis@imgtec.com> | Fri Apr 22 13:19:22 2016 +0000 |
| committer | Simon Dardis <simon.dardis@imgtec.com> | Fri Apr 22 13:19:22 2016 +0000 |
| tree | 2cb1379380e903c6128644517a39ce72ec3efde3 | |
| parent | de9b8b40aafda832342b2dca3a707579e4388688 [diff] |
[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