diff options
author | Kang Zhang <shkzhang@cn.ibm.com> | 2020-05-13 05:59:52 +0000 |
---|---|---|
committer | Kang Zhang <shkzhang@cn.ibm.com> | 2020-05-13 05:59:52 +0000 |
commit | 782a4dd1a478e41857744b483b104b5e66857fbf (patch) | |
tree | 6e21213dbf8ece13edf9e7cd40af0d7e5aa4bd67 /llvm/lib/Bitcode/Reader/MetadataLoader.cpp | |
parent | 085234bedc3803699e58a8c9e6bbace3388efee2 (diff) | |
download | llvm-782a4dd1a478e41857744b483b104b5e66857fbf.zip llvm-782a4dd1a478e41857744b483b104b5e66857fbf.tar.gz llvm-782a4dd1a478e41857744b483b104b5e66857fbf.tar.bz2 |
[PowerPC] Use add instead of addReg in ppc-early-ret pass
Summary:
The ppc-early-ret pass use the addReg() to add operand to the new
instruction, it can't reserve the flag of old operand. This has caused
machine verfications failed.
This patch use add() to instead of addReg().
Reviewed By: steven.zhang
Differential Revision: https://reviews.llvm.org/D77997
Diffstat (limited to 'llvm/lib/Bitcode/Reader/MetadataLoader.cpp')
0 files changed, 0 insertions, 0 deletions