summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorJakob Stoklund Olesen <stoklund@2pi.dk>2012-08-09 22:08:24 +0000
committerJakob Stoklund Olesen <stoklund@2pi.dk>2012-08-09 22:08:24 +0000
commit69a0aa87f8d64895af082cb52c7ecee0f6021d20 (patch)
treec7751ab34bfb7c9b135ff7c3e5bfe4fa1168563d /test
parent3246176838a47fa088b98772d4899063a9b7f731 (diff)
downloadllvm-69a0aa87f8d64895af082cb52c7ecee0f6021d20.tar.gz
llvm-69a0aa87f8d64895af082cb52c7ecee0f6021d20.tar.bz2
llvm-69a0aa87f8d64895af082cb52c7ecee0f6021d20.tar.xz
Don't modify MO while use_iterator is still pointing to it.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@161626 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rw-r--r--test/CodeGen/Mips/swzero.ll1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/CodeGen/Mips/swzero.ll b/test/CodeGen/Mips/swzero.ll
index 2441ca29dd..9f91a3902d 100644
--- a/test/CodeGen/Mips/swzero.ll
+++ b/test/CodeGen/Mips/swzero.ll
@@ -4,6 +4,7 @@
define void @zero_u(%struct.unaligned* nocapture %p) nounwind {
entry:
+; CHECK: swl $zero
; CHECK: swr $zero
%x = getelementptr inbounds %struct.unaligned* %p, i32 0, i32 0
store i32 0, i32* %x, align 1