forked from OSchip/llvm-project
[X86] Add missing MOVSX/MOVZX instructions to load folding tables.
I'm not sure there's any way to generate these folding cases especially the movzx ones since even the register form is never emitted by codegen. I'm just adding them to remove the difference with the autogenerated version of the folding table. llvm-svn: 323200
This commit is contained in:
parent
69ea82968a
commit
c2df6409c7
|
@ -616,6 +616,7 @@ X86InstrInfo::X86InstrInfo(X86Subtarget &STI)
|
|||
{ X86::MOVSLDUPrr, X86::MOVSLDUPrm, TB_ALIGN_16 },
|
||||
{ X86::MOVSX16rr8, X86::MOVSX16rm8, 0 },
|
||||
{ X86::MOVSX32rr16, X86::MOVSX32rm16, 0 },
|
||||
{ X86::MOVSX32_NOREXrr8, X86::MOVSX32_NOREXrm8, 0 },
|
||||
{ X86::MOVSX32rr8, X86::MOVSX32rm8, 0 },
|
||||
{ X86::MOVSX64rr16, X86::MOVSX64rm16, 0 },
|
||||
{ X86::MOVSX64rr32, X86::MOVSX64rm32, 0 },
|
||||
|
@ -627,6 +628,8 @@ X86InstrInfo::X86InstrInfo(X86Subtarget &STI)
|
|||
{ X86::MOVZX32rr16, X86::MOVZX32rm16, 0 },
|
||||
{ X86::MOVZX32_NOREXrr8, X86::MOVZX32_NOREXrm8, 0 },
|
||||
{ X86::MOVZX32rr8, X86::MOVZX32rm8, 0 },
|
||||
{ X86::MOVZX64rr16, X86::MOVZX64rm16, 0 },
|
||||
{ X86::MOVZX64rr8, X86::MOVZX64rm8, 0 },
|
||||
{ X86::PABSBrr, X86::PABSBrm, TB_ALIGN_16 },
|
||||
{ X86::PABSDrr, X86::PABSDrm, TB_ALIGN_16 },
|
||||
{ X86::PABSWrr, X86::PABSWrm, TB_ALIGN_16 },
|
||||
|
|
Loading…
Reference in New Issue