diff options
author | Jim Lin <tclin914@gmail.com> | 2020-03-02 10:04:21 +0800 |
---|---|---|
committer | Jim Lin <tclin914@gmail.com> | 2020-03-02 11:36:32 +0800 |
commit | bfdb834bc3d5e948002e5061a4c50d5c9a97de59 (patch) | |
tree | e6fc4606cc895a6d9d9336e950631b0c5f704912 /llvm/lib/Bitcode/Writer/BitcodeWriter.cpp | |
parent | 0cd6712a7af0fa2702b5d4cc733500eb5e62e7d0 (diff) | |
download | llvm-bfdb834bc3d5e948002e5061a4c50d5c9a97de59.zip llvm-bfdb834bc3d5e948002e5061a4c50d5c9a97de59.tar.gz llvm-bfdb834bc3d5e948002e5061a4c50d5c9a97de59.tar.bz2 |
[Sparc] Fix incorrect operand for matching CMPri pattern
Summary:
It should be normal constant instead of target constant.
Pattern CMPri can be matched if the constant can be fitted into immediate field.
Otherwise, pattern CMPrr will be matched.
This fixed bug https://bugs.llvm.org/show_bug.cgi?id=44091.
Reviewers: dcederman, jyknight
Reviewed By: jyknight
Subscribers: jonpa, hiraditya, fedor.sergeev, jrtc27, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D75227
Diffstat (limited to 'llvm/lib/Bitcode/Writer/BitcodeWriter.cpp')
0 files changed, 0 insertions, 0 deletions