diff options
author | Eli Friedman <eli.friedman@gmail.com> | 2009-12-26 20:08:30 +0000 |
---|---|---|
committer | Eli Friedman <eli.friedman@gmail.com> | 2009-12-26 20:08:30 +0000 |
commit | ba7b1c4db4ae5250564f5cab53e8f0f35c661a94 (patch) | |
tree | e685b1899922427f0a97cb4639807fc140236f4b /lib/Target/X86 | |
parent | 47eb1eab1ffbbdb9adf3d55439cb2380441258e1 (diff) | |
download | external_llvm-ba7b1c4db4ae5250564f5cab53e8f0f35c661a94.zip external_llvm-ba7b1c4db4ae5250564f5cab53e8f0f35c661a94.tar.gz external_llvm-ba7b1c4db4ae5250564f5cab53e8f0f35c661a94.tar.bz2 |
PR5886: Make sure IMUL32m is marked as setting EFLAGS, so scheduling doesn't
do illegal stuff around it. No testcase because the issue is very fragile.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92167 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/X86')
-rw-r--r-- | lib/Target/X86/X86InstrInfo.td | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/X86/X86InstrInfo.td b/lib/Target/X86/X86InstrInfo.td index 51a128a..4d922a5 100644 --- a/lib/Target/X86/X86InstrInfo.td +++ b/lib/Target/X86/X86InstrInfo.td @@ -1128,7 +1128,7 @@ def IMUL8m : I<0xF6, MRM5m, (outs), (ins i8mem :$src), let Defs = [AX,DX,EFLAGS], Uses = [AX] in def IMUL16m : I<0xF7, MRM5m, (outs), (ins i16mem:$src), "imul{w}\t$src", []>, OpSize; // AX,DX = AX*[mem16] -let Defs = [EAX,EDX], Uses = [EAX] in +let Defs = [EAX,EDX,EFLAGS], Uses = [EAX] in def IMUL32m : I<0xF7, MRM5m, (outs), (ins i32mem:$src), "imul{l}\t$src", []>; // EAX,EDX = EAX*[mem32] } |