[PATCH] D40131: [AMDGPU] Update test r600.amdgpu-alias-analysis.ll

Yaxun Liu via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Nov 16 08:06:08 PST 2017


yaxunl created this revision.
Herald added subscribers: t-tye, tpr, dstuttard, nhaehnle, wdng, kzhuravl.

Manually update test r600.amdgpu-alias-analysis.ll for amdgiz environment
since it cannot be done by script.

The two pointers are swapped in the output because PrintResults in
AliasAnalysisEvaluator.cpp sorts the strings obtained from printAsOperand
before printing them.


https://reviews.llvm.org/D40131

Files:
  test/CodeGen/AMDGPU/r600.amdgpu-alias-analysis.ll


Index: test/CodeGen/AMDGPU/r600.amdgpu-alias-analysis.ll
===================================================================
--- test/CodeGen/AMDGPU/r600.amdgpu-alias-analysis.ll
+++ test/CodeGen/AMDGPU/r600.amdgpu-alias-analysis.ll
@@ -1,7 +1,7 @@
-; RUN: opt -mtriple=r600-- -O3 -aa-eval -print-all-alias-modref-info -disable-output < %s 2>&1 | FileCheck %s
+; RUN: opt -mtriple=r600---amdgiz -O3 -aa-eval -print-all-alias-modref-info -disable-output < %s 2>&1 | FileCheck %s
 
-; CHECK: NoAlias:      i8 addrspace(7)* %p1, i8* %p
+; CHECK: NoAlias: i8 addrspace(5)* %p, i8 addrspace(7)* %p1
 
-define amdgpu_kernel void @test(i8* %p, i8 addrspace(7)* %p1) {
+define amdgpu_kernel void @test(i8 addrspace(5)* %p, i8 addrspace(7)* %p1) {
   ret void
 }


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D40131.123183.patch
Type: text/x-patch
Size: 754 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20171116/db89ee38/attachment-0001.bin>


More information about the llvm-commits mailing list