From 561ac17d20066081466f16b4d1ab0719e6e99a2e Mon Sep 17 00:00:00 2001 From: Dan Gohman Date: Wed, 20 Oct 2010 22:04:02 +0000 Subject: [PATCH] Add some comments. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@116957 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/Analysis/TypeBasedAliasAnalysis/aliastest.ll | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/test/Analysis/TypeBasedAliasAnalysis/aliastest.ll b/test/Analysis/TypeBasedAliasAnalysis/aliastest.ll index bd008f3c923..e9b479d6cd8 100644 --- 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 {