diff options
author | Pengxuan Zheng <pzheng@quicinc.com> | 2021-10-05 15:16:05 -0700 |
---|---|---|
committer | Pengxuan Zheng <pzheng@quicinc.com> | 2021-10-06 10:03:32 -0700 |
commit | b0045f559549e993629a7d541b3b1df3f8144814 (patch) | |
tree | 2f33af2e58bf16f24a3ef4f10a0556ef29287ff3 /llvm/lib/Bitcode/Reader/BitcodeReader.cpp | |
parent | df84c1fe78130a86445d57563dea742e1b85156a (diff) | |
download | llvm-b0045f559549e993629a7d541b3b1df3f8144814.zip llvm-b0045f559549e993629a7d541b3b1df3f8144814.tar.gz llvm-b0045f559549e993629a7d541b3b1df3f8144814.tar.bz2 |
[ARM] Fix a bug in finding a pair of extracts to create VMOVRRD
D100244 missed a check on the ResNo of the extract's operand 0 when finding a
pair of extracts to combine into a VMOVRRD (extract(x, n); extract(x, n+1) ->
VMOVRRD(extract x, n/2)). As a result, it can incorrectly pair an extract(x, n)
with another extract(x:3, n+1) for example. This patch fixes the bug by adding
the proper check on ResNo.
Reviewed By: dmgreen
Differential Revision: https://reviews.llvm.org/D111188
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions