aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineModuleInfo.cpp
diff options
context:
space:
mode:
authorJingyue Wu <jingyue@google.com>2015-05-29 16:58:08 +0000
committerJingyue Wu <jingyue@google.com>2015-05-29 16:58:08 +0000
commita84feb17274882ad0830f5dc538307942db155ab (patch)
treef12543b8aba68e4fe718d21225b2cdb979ec1771 /llvm/lib/CodeGen/MachineModuleInfo.cpp
parentba9614f6430fa1a6a2435972e59cdc0dcc54ad3f (diff)
downloadllvm-a84feb17274882ad0830f5dc538307942db155ab.zip
llvm-a84feb17274882ad0830f5dc538307942db155ab.tar.gz
llvm-a84feb17274882ad0830f5dc538307942db155ab.tar.bz2
[DependenceAnalysis] Extend unifySubscriptType for handling coupled subscript groups.
Summary: In continuation to an earlier commit to DependenceAnalysis.cpp by jingyue (r222100), the type for all subscripts in a coupled group need to be the same since constraints from one subscript may be propagated to another during testing. During testing, new SCEVs may be created and the operands for these need to be the same. This patch extends unifySubscriptType() to work on lists of subscript pairs, ensuring a common extended type for all of them. Test Plan: Added a test case to NonCanonicalizedSubscript.ll which causes dependence analysis to crash without this fix. All regression tests pass. Reviewers: spop, sebpop, jingyue Reviewed By: jingyue Subscribers: llvm-commits Differential Revision: http://reviews.llvm.org/D9698 llvm-svn: 238573
Diffstat (limited to 'llvm/lib/CodeGen/MachineModuleInfo.cpp')
0 files changed, 0 insertions, 0 deletions