commit | 850ba41ed4252aae61e62140cdf0c61dbb444563 | [log] [tgz] |
---|---|---|
author | Richard Osborne <richard@xmos.com> | Tue Jul 02 14:46:34 2013 +0000 |
committer | Richard Osborne <richard@xmos.com> | Tue Jul 02 14:46:34 2013 +0000 |
tree | a303f3a990e231d52daa0e417e01f96ddda6bea5 | |
parent | 0a39e264330c5f6eb9e5e9e60d276613985e178d [diff] |
[XCore] Fix instruction selection for zext, mkmsk instructions. r182680 replaced CountLeadingZeros_32 with a template function countLeadingZeros that relies on using the correct argument type to give the right result. The type passed in the XCore backend after this revision was incorrect in a couple of places. Patch by Robert Lytton. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@185430 91177308-0d34-0410-b5e6-96231b3b80d8