commit | f0e086a0bc7eaee4a97082531aac856303d3208b | [log] [tgz] |
---|---|---|
author | Hal Finkel <hfinkel@anl.gov> | Sun May 11 19:29:07 2014 +0000 |
committer | Hal Finkel <hfinkel@anl.gov> | Sun May 11 19:29:07 2014 +0000 |
tree | dc0b4d6c869960367ce702aa92cdc2e266ab8476 | |
parent | b33e9872a061342088ffe09ac533b67cd916a658 [diff] |
Pass the value type to TLI::getRegisterByName We must validate the value type in TLI::getRegisterByName, because if we don't and the wrong type was used with the IR intrinsic, then we'll assert (because we won't be able to find a valid register class with which to construct the requested copy operation). For PPC64, additionally, the type information is necessary to decide between the 64-bit register and the 32-bit subregister. No functionality change. llvm-svn: 208508