diff options
author | Dan Gohman <gohman@apple.com> | 2010-10-20 22:04:02 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2010-10-20 22:04:02 +0000 |
commit | 55a028680c71beec46f9c8e6d7081f8f38391a1b (patch) | |
tree | f494436388d047831fb699228c822ada73fcf4a1 /llvm/test/Analysis | |
parent | 87066f0677d586ae0e5b3ba3231f603116f157c6 (diff) | |
download | bcm5719-llvm-55a028680c71beec46f9c8e6d7081f8f38391a1b.tar.gz bcm5719-llvm-55a028680c71beec46f9c8e6d7081f8f38391a1b.zip |
Add some comments.
llvm-svn: 116957
Diffstat (limited to 'llvm/test/Analysis')
-rw-r--r-- | llvm/test/Analysis/TypeBasedAliasAnalysis/aliastest.ll | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/llvm/test/Analysis/TypeBasedAliasAnalysis/aliastest.ll b/llvm/test/Analysis/TypeBasedAliasAnalysis/aliastest.ll index bd008f3c923..e9b479d6cd8 100644 --- a/llvm/test/Analysis/TypeBasedAliasAnalysis/aliastest.ll +++ b/llvm/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 { |