OSDN Git Service

Set mayLoad on MOVZX32_NOREXrm8 too.
authorDan Gohman <gohman@apple.com>
Thu, 30 Apr 2009 03:11:48 +0000 (03:11 +0000)
committerDan Gohman <gohman@apple.com>
Thu, 30 Apr 2009 03:11:48 +0000 (03:11 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@70466 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/X86/X86InstrInfo.td

index 218faad..33e0a3d 100644 (file)
@@ -2939,6 +2939,7 @@ def MOVZX32_NOREXrr8 : I<0xB6, MRMSrcReg,
                          (outs GR32_NOREX:$dst), (ins GR8:$src),
                          "movz{bl|x}\t{$src, $dst|$dst, $src}  # NOREX",
                          []>, TB;
+let mayLoad = 1 in
 def MOVZX32_NOREXrm8 : I<0xB6, MRMSrcMem,
                          (outs GR32_NOREX:$dst), (ins i8mem:$src),
                          "movz{bl|x}\t{$src, $dst|$dst, $src}  # NOREX",