aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorGabriel Hjort Ã…kerlund <gabriel.hjort.akerlund@ericsson.com>2020-09-30 15:24:41 +0200
committerMikael Holmen <mikael.holmen@ericsson.com>2020-09-30 16:08:51 +0200
commit43d239d0fadb1f8ea297580ca39dfbee96c913c1 (patch)
treeea0c28563248afa77742bd7e9786f3a1383001ac /clang/lib/Frontend/CompilerInvocation.cpp
parentdfb717da1f794c235b81a985a57dc238c82318e6 (diff)
downloadllvm-43d239d0fadb1f8ea297580ca39dfbee96c913c1.zip
llvm-43d239d0fadb1f8ea297580ca39dfbee96c913c1.tar.gz
llvm-43d239d0fadb1f8ea297580ca39dfbee96c913c1.tar.bz2
[GlobalISel] Fix incorrect setting of ValNo when splitting
Before, for each original argument i, ValNo was set to i + PartIdx, but ValNo is intended to reflect the index of the value before splitting. Hence, ValNo should always be set to i and not consider the PartIdx. Reviewed By: arsenm Differential Revision: https://reviews.llvm.org/D86511
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions