summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/ScoreboardHazardRecognizer.cpp
diff options
context:
space:
mode:
authorTim Northover <tnorthover@apple.com>2013-06-01 09:55:14 +0000
committerTim Northover <tnorthover@apple.com>2013-06-01 09:55:14 +0000
commit3a1fd4c0ac7f5a17d271c895a1597273ac8252c8 (patch)
tree0e3993ea8d5465f7be504741c2ef9e178073a885 /llvm/lib/CodeGen/ScoreboardHazardRecognizer.cpp
parent3521dcdcc453c887bf8f170a9742d36c93b18a10 (diff)
downloadbcm5719-llvm-3a1fd4c0ac7f5a17d271c895a1597273ac8252c8.tar.gz
bcm5719-llvm-3a1fd4c0ac7f5a17d271c895a1597273ac8252c8.zip
X86: change MOV64ri64i32 into MOV32ri64
The MOV64ri64i32 instruction required hacky MCInst lowering because it was allocated as setting a GR64, but the eventual instruction ("movl") only set a GR32. This converts it into a so-called "MOV32ri64" which still accepts a (appropriate) 64-bit immediate but defines a GR32. This is then converted to the full GR64 by a SUBREG_TO_REG operation, thus keeping everyone happy. This fixes a typo in the opcode field of the original patch, which should make the legact JIT work again (& adds test for that problem). llvm-svn: 183068
Diffstat (limited to 'llvm/lib/CodeGen/ScoreboardHazardRecognizer.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud