diff options
author | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2011-10-14 00:39:50 +0000 |
---|---|---|
committer | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2011-10-14 00:39:50 +0000 |
commit | 0a951fba75dd8dbd53d80503430b0d055ada2b46 (patch) | |
tree | 1f7206b8051871469a720603cc75e90ac43e0fb0 /lib | |
parent | a80444f88d88d88513b096c97474c453a4c3bcf6 (diff) | |
download | llvm-0a951fba75dd8dbd53d80503430b0d055ada2b46.tar.gz llvm-0a951fba75dd8dbd53d80503430b0d055ada2b46.tar.bz2 llvm-0a951fba75dd8dbd53d80503430b0d055ada2b46.tar.xz |
V_SET0 has no side effects.
TableGen will mark any pattern-less instruction as having unmodeled side
effects. This is extra bad for V_SET0 which gets rematerialized a lot.
This was part of the cause for PR11125, but the real bug was fixed
in r141923.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@141924 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Target/X86/X86InstrSSE.td | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/X86/X86InstrSSE.td b/lib/Target/X86/X86InstrSSE.td index 520de683f1..d3ced23450 100644 --- a/lib/Target/X86/X86InstrSSE.td +++ b/lib/Target/X86/X86InstrSSE.td @@ -266,7 +266,7 @@ let isReMaterializable = 1, isAsCheapAsAMove = 1, isCodeGenOnly = 1, // We set canFoldAsLoad because this can be converted to a constant-pool // load of an all-zeros value if folding it would be beneficial. let isReMaterializable = 1, isAsCheapAsAMove = 1, canFoldAsLoad = 1, - isPseudo = 1 in { + isPseudo = 1, neverHasSideEffects = 1 in { def V_SET0 : I<0, Pseudo, (outs VR128:$dst), (ins), "", []>; } |