mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-08-09 11:25:55 +00:00
Add some comments.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@116957 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -1,5 +1,7 @@
|
|||||||
; RUN: opt < %s -enable-tbaa -tbaa -basicaa -gvn -S | FileCheck %s
|
; RUN: opt < %s -enable-tbaa -tbaa -basicaa -gvn -S | FileCheck %s
|
||||||
|
|
||||||
|
; Test that basic alias queries work.
|
||||||
|
|
||||||
; CHECK: @test0_yes
|
; CHECK: @test0_yes
|
||||||
; CHECK: add i8 %x, %x
|
; CHECK: add i8 %x, %x
|
||||||
define i8 @test0_yes(i8* %a, i8* %b) nounwind {
|
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
|
ret i8 %z
|
||||||
}
|
}
|
||||||
|
|
||||||
|
; Test that basic invariant-memory queries work.
|
||||||
|
|
||||||
; CHECK: @test1_yes
|
; CHECK: @test1_yes
|
||||||
; CHECK: add i8 %x, %x
|
; CHECK: add i8 %x, %x
|
||||||
define i8 @test1_yes(i8* %a, i8* %b) nounwind {
|
define i8 @test1_yes(i8* %a, i8* %b) nounwind {
|
||||||
|
Reference in New Issue
Block a user