llvm.org GIT mirror llvm / 0a951fb
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 Jakob Stoklund Olesen 8 years ago
1 changed file(s) with 1 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
265265 // We set canFoldAsLoad because this can be converted to a constant-pool
266266 // load of an all-zeros value if folding it would be beneficial.
267267 let isReMaterializable = 1, isAsCheapAsAMove = 1, canFoldAsLoad = 1,
268 isPseudo = 1 in {
268 isPseudo = 1, neverHasSideEffects = 1 in {
269269 def V_SET0 : I<0, Pseudo, (outs VR128:$dst), (ins), "", []>;
270270 }
271271