summaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Reader/BitcodeReader.cpp
diff options
context:
space:
mode:
authorRuiling Song <ruiling.song@amd.com>2020-09-15 08:06:57 +0800
committerRuiling Song <ruiling.song@amd.com>2020-09-29 08:14:24 +0800
commit73805329baa0f5c463b70d16f18555365d3a020e (patch)
tree7c1b5b4311ba3c4be66ad7ba501964cd9b69ee9d /llvm/lib/Bitcode/Reader/BitcodeReader.cpp
parentefd04721c9a2a856dd47e47a08c42d21efd5dd2b (diff)
[RegisterCoalescer] Pass Undefs to extendToIndices()
When extending the subranges, the reaching-def may be an undefs. When extending such kind of subrange, it will try to search for the reaching def first. If the reaching def is an undef and we did not provide 'Undefs', The findReachingDefs() will fail with message: "Use of $noreg does not have a corresponding definition on every path: LLVM ERROR: Use not jointly dominated by defs." So we computeSubRangeUndefs() and pass the result to extendToIndices(). Reviewed By: arsenm Differential Revision: https://reviews.llvm.org/D87744
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions