[PATCH] D12414: [NVPTX] add an NVPTX-specific alias analysis
Jingyue Wu via llvm-commits
llvm-commits at lists.llvm.org
Thu Aug 27 15:29:02 PDT 2015
jingyue created this revision.
jingyue added reviewers: wengxt, hfinkel, dberlin, chandlerc, jholewinski.
jingyue added subscribers: llvm-commits, eliben, meheff, broune.
Herald added a subscriber: jholewinski.
It reports two pointers no alias if they are in different non-generic
address spaces interpreted by the NVPTX backend.
This work is motivated by the discussion at
http://lists.llvm.org/pipermail/llvm-dev/2015-August/089023.html. We reach the
consensus that we should
1. create a NVPTX-specific alias analysis that leverages address spaces,
because other architectures interpret address space numbers differently.
2. customize the pass manager builder to enable this alias analysis in the
standard optimization pipeline only for NVPTX.
This patch only completes Step 1.
test/CodeGen/NVPTX/aa.ll demonstrates how this alias analysis can promote LICM.
Initial patch by Xuetian Weng.
http://reviews.llvm.org/D12414
Files:
lib/Target/NVPTX/CMakeLists.txt
lib/Target/NVPTX/NVPTXAliasAnalysis.cpp
lib/Target/NVPTX/NVPTXAliasAnalysis.h
lib/Target/NVPTX/NVPTXTargetMachine.cpp
test/CodeGen/NVPTX/aa.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D12414.33364.patch
Type: text/x-patch
Size: 9460 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150827/e113d6f5/attachment.bin>
More information about the llvm-commits
mailing list