diff options
author | Hal Finkel <hfinkel@anl.gov> | 2014-05-11 19:29:07 +0000 |
---|---|---|
committer | Hal Finkel <hfinkel@anl.gov> | 2014-05-11 19:29:07 +0000 |
commit | f0e086a0bc7eaee4a97082531aac856303d3208b (patch) | |
tree | dc0b4d6c869960367ce702aa92cdc2e266ab8476 /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | b33e9872a061342088ffe09ac533b67cd916a658 (diff) | |
download | bcm5719-llvm-f0e086a0bc7eaee4a97082531aac856303d3208b.tar.gz bcm5719-llvm-f0e086a0bc7eaee4a97082531aac856303d3208b.zip |
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
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions