aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Reader/BitcodeReader.cpp
diff options
context:
space:
mode:
authorMatt Arsenault <Matthew.Arsenault@amd.com>2016-11-01 22:55:07 +0000
committerMatt Arsenault <Matthew.Arsenault@amd.com>2016-11-01 22:55:07 +0000
commit3d463193a961c891ec1b49d07de4729794cc5b14 (patch)
tree6084e14c2d67c2a90ab6d3d40c288fdd8180ad52 /llvm/lib/Bitcode/Reader/BitcodeReader.cpp
parent8a99f120bc831d424185b65809903a1212989348 (diff)
downloadllvm-3d463193a961c891ec1b49d07de4729794cc5b14.zip
llvm-3d463193a961c891ec1b49d07de4729794cc5b14.tar.gz
llvm-3d463193a961c891ec1b49d07de4729794cc5b14.tar.bz2
AMDGPU: Default to using scalar mov to materialize immediate
This is the conservatively correct way because it's easy to move or replace a scalar immediate. This was incorrect in the case when the register class wasn't known from the static instruction definition, but still needed to be an SGPR. The main example of this is inlineasm has an SGPR constraint. Also start verifying the register classes of inlineasm operands. llvm-svn: 285762
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions