summaryrefslogtreecommitdiff
path: root/lib/Bitcode/Reader/BitstreamReader.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
commit24f554f05277413fd8ec77f80c3241d0298ab57f (patch)
tree8339a672600d106f7b480e878c979caa9c1274ad /lib/Bitcode/Reader/BitstreamReader.cpp
parent94a03fcf38f2b9a4e9e07747f2a0d8be8d4510e7 (diff)
downloadllvm-24f554f05277413fd8ec77f80c3241d0298ab57f.tar.gz
llvm-24f554f05277413fd8ec77f80c3241d0298ab57f.tar.bz2
llvm-24f554f05277413fd8ec77f80c3241d0298ab57f.tar.xz
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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@208508 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Bitcode/Reader/BitstreamReader.cpp')
0 files changed, 0 insertions, 0 deletions