summaryrefslogtreecommitdiffstats
path: root/llvm/test/Transforms/JumpThreading/basic.ll
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2013-02-22 09:09:42 +0000
committerBill Wendling <isanbard@gmail.com>2013-02-22 09:09:42 +0000
commita032374ea0d069bff44045eee72ebdaa100ccc7a (patch)
tree15d310cc9553439cca1d1503b091719d49efaecf /llvm/test/Transforms/JumpThreading/basic.ll
parent2386c8b2211f3708cb475ffbcfb38df127559bb1 (diff)
downloadbcm5719-llvm-a032374ea0d069bff44045eee72ebdaa100ccc7a.tar.gz
bcm5719-llvm-a032374ea0d069bff44045eee72ebdaa100ccc7a.zip
Use references to attribute groups on the call/invoke instructions.
Listing all of the attributes for the callee of a call/invoke instruction is way too much and makes the IR unreadable. Use references to attributes instead. llvm-svn: 175877
Diffstat (limited to 'llvm/test/Transforms/JumpThreading/basic.ll')
-rw-r--r--llvm/test/Transforms/JumpThreading/basic.ll6
1 files changed, 4 insertions, 2 deletions
diff --git a/llvm/test/Transforms/JumpThreading/basic.ll b/llvm/test/Transforms/JumpThreading/basic.ll
index 93fa29b006e..fe3dc77c9c1 100644
--- a/llvm/test/Transforms/JumpThreading/basic.ll
+++ b/llvm/test/Transforms/JumpThreading/basic.ll
@@ -497,8 +497,8 @@ l2:
br label %l3
l3:
-; CHECK: call void @g() noduplicate
-; CHECK-NOT: call void @g() noduplicate
+; CHECK: call void @g() [[NOD:#[0-9]+]]
+; CHECK-NOT: call void @g() [[NOD]]
call void @g() noduplicate
%y = icmp ult i32 %p, 5
br i1 %y, label %l4, label %l5
@@ -512,3 +512,5 @@ l5:
ret void
; CHECK: }
}
+
+; CHECK: attributes [[NOD]] = { noduplicate }
OpenPOWER on IntegriCloud