[PATCH] D31103: [AMDGPU] Add address space based alias analysis pass
Valery Pykhtin via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Mar 17 14:23:06 PDT 2017
vpykhtin added inline comments.
================
Comment at: lib/Target/AMDGPU/AMDGPUAliasAnalysis.cpp:63
+ (T2->isVectorTy() && !T1->isVectorTy()))
+ return NoAlias;
+ }
----------------
the check can be done using xor
T1->isVectorTy() ^ T2->isVectorTy()
Repository:
rL LLVM
https://reviews.llvm.org/D31103
More information about the llvm-commits
mailing list