projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
134982d
)
Add some comments.
author
Dan Gohman
<gohman@apple.com>
Wed, 20 Oct 2010 22:04:02 +0000
(22:04 +0000)
committer
Dan Gohman
<gohman@apple.com>
Wed, 20 Oct 2010 22:04:02 +0000
(22:04 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@116957
91177308
-0d34-0410-b5e6-
96231b3b80d8
test/Analysis/TypeBasedAliasAnalysis/aliastest.ll
patch
|
blob
|
history
diff --git
a/test/Analysis/TypeBasedAliasAnalysis/aliastest.ll
b/test/Analysis/TypeBasedAliasAnalysis/aliastest.ll
index bd008f3c92336ade0d15a0985284509b9ff41740..e9b479d6cd8ee755aaabccef3e986a9ce634d78e 100644
(file)
--- a/
test/Analysis/TypeBasedAliasAnalysis/aliastest.ll
+++ b/
test/Analysis/TypeBasedAliasAnalysis/aliastest.ll
@@
-1,5
+1,7
@@
; RUN: opt < %s -enable-tbaa -tbaa -basicaa -gvn -S | FileCheck %s
+; Test that basic alias queries work.
+
; CHECK: @test0_yes
; CHECK: add i8 %x, %x
define i8 @test0_yes(i8* %a, i8* %b) nounwind {
@@
-20,6
+22,8
@@
define i8 @test0_no(i8* %a, i8* %b) nounwind {
ret i8 %z
}
+; Test that basic invariant-memory queries work.
+
; CHECK: @test1_yes
; CHECK: add i8 %x, %x
define i8 @test1_yes(i8* %a, i8* %b) nounwind {