summaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Reader/BitcodeReader.cpp
diff options
context:
space:
mode:
authorchenglin.bi <chenglin.bi@linaro.org>2022-11-13 19:19:38 +0800
committerchenglin.bi <chenglin.bi@linaro.org>2022-11-13 19:20:07 +0800
commit84822479006e177c6388ba77acf2c12a73243870 (patch)
treefca1f709b5e436784e956eed5370509d87407746 /llvm/lib/Bitcode/Reader/BitcodeReader.cpp
parente19cb9c57fea7981c206fcbaf9807870de6001a0 (diff)
[GlobalISel] Correct constant type in matchReassocConstantInnerLHS
When we match a pattern from m_GCst, the register type could be different from original op. So we can't replace the original op to vreg direct. This code create a new constant with original op type then replace the original op. Fix #58906 Reviewed By: arsenm, aemerson Differential Revision: https://reviews.llvm.org/D137778
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions