StackColoring: don't clear an instruction's mem operand if the underlying
authorAkira Hatanaka <ahatanaka@mips.com>
Tue, 14 May 2013 01:42:44 +0000 (01:42 +0000)
committerAkira Hatanaka <ahatanaka@mips.com>
Tue, 14 May 2013 01:42:44 +0000 (01:42 +0000)
commitdd29df06fa72de9e370cdd9d8e32ac5437a578c7
tree00d3771ce714a1d5aaa8d2655684dc33442ab526
parent17a692e7f196c15118e69d7012d110aa00a362ba
StackColoring: don't clear an instruction's mem operand if the underlying
object is a PseudoSourceValue and PseudoSourceValue::isConstant returns true (i.e.,
points to memory that has a constant value).

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@181751 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/StackColoring.cpp
test/CodeGen/Mips/stackcoloring.ll [new file with mode: 0644]