summaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Reader/BitcodeReader.cpp
diff options
context:
space:
mode:
authorKoakuma <koachan@protonmail.com>2022-12-07 15:31:31 -0500
committerBrad Smith <brad@comstyle.com>2022-12-07 15:34:58 -0500
commitf8f41c3fcd77829b8a4f10190699adb8b6451f56 (patch)
tree6a929104e727c260279bd83a389f525d3da57abe /llvm/lib/Bitcode/Reader/BitcodeReader.cpp
parent7ec057ff4a0662fea834af607b48d39b490c0aa0 (diff)
[SPARC] Lower SELECT_CC to MOVr on 64-bit target whenever possible
On 64-bit target, when doing i64 SELECT_CC where one of the comparison operands is a constant zero, try to fold the compare and MOVcc into a MOVr instruction. For all integers, EQ and NE comparison are available, additionally for signed integers, GT, GE, LT, and LE is also available. Reviewed By: arsenm Differential Revision: https://reviews.llvm.org/D138922
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions