summaryrefslogtreecommitdiffstats
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorHal Finkel <hfinkel@anl.gov>2014-05-11 19:29:07 +0000
committerHal Finkel <hfinkel@anl.gov>2014-05-11 19:29:07 +0000
commitf0e086a0bc7eaee4a97082531aac856303d3208b (patch)
treedc0b4d6c869960367ce702aa92cdc2e266ab8476 /clang/lib/Frontend/CompilerInvocation.cpp
parentb33e9872a061342088ffe09ac533b67cd916a658 (diff)
downloadbcm5719-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
OpenPOWER on IntegriCloud