diff options
| author | Tim Northover <tnorthover@apple.com> | 2013-05-31 09:57:13 +0000 |
|---|---|---|
| committer | Tim Northover <tnorthover@apple.com> | 2013-05-31 09:57:13 +0000 |
| commit | 43887bf3e62daab1c8571be8a73741c9275f866a (patch) | |
| tree | 2eda3f1064130d09963fff6d35c9671baeb3ff9c /lib/CodeGen/AsmPrinter/OcamlGCPrinter.cpp | |
| parent | 5434f123e9c3b31cc7783ab06be0358026212cd2 (diff) | |
| download | external_llvm-43887bf3e62daab1c8571be8a73741c9275f866a.zip external_llvm-43887bf3e62daab1c8571be8a73741c9275f866a.tar.gz external_llvm-43887bf3e62daab1c8571be8a73741c9275f866a.tar.bz2 | |
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.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@182991 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/AsmPrinter/OcamlGCPrinter.cpp')
0 files changed, 0 insertions, 0 deletions
