summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CodeGenModule.h
diff options
context:
space:
mode:
authorMatthew Simpson <mssimpso@codeaurora.org>2016-09-14 14:47:40 +0000
committerMatthew Simpson <mssimpso@codeaurora.org>2016-09-14 14:47:40 +0000
commitb25e87fca57221b649cbee3ee67669f43d1e1ebb (patch)
treedfc46f37a894eba094b822640de08597dc3ffa4f /clang/lib/CodeGen/CodeGenModule.h
parent13065b00ba3411d36e7bfbedd4858dc7f6db6e3a (diff)
downloadbcm5719-llvm-b25e87fca57221b649cbee3ee67669f43d1e1ebb.tar.gz
bcm5719-llvm-b25e87fca57221b649cbee3ee67669f43d1e1ebb.zip
[LV] Process pointer IVs with PHINodes in collectLoopUniforms
This patch moves the processing of pointer induction variables in collectLoopUniforms from the consecutive pointer phase of the analysis to the phi node phase. Previously, if a pointer induction variable was used by both a scalarized non-memory instruction as well as a vectorized memory instruction, we would incorrectly identify the pointer as uniform. Pointer induction variables should be treated the same as other phi nodes. That is, they are uniform if all users of the induction variable and induction variable update are uniform. Differential Revision: https://reviews.llvm.org/D24511 llvm-svn: 281485
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud