mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 03:02:36 +01:00
[RISCV] Set isReMaterializable for ORI, XORI
Reviewers: asb Reviewed By: asb Subscribers: asb, rbar, johnrusso, simoncook, sabuasal, niosHD, kito-cheng, shiva0217, zzheng, edward-jones, rogfer01, MartinMosbeck, brucehoult, the_o, rkruppe, PkmX, jocewei Differential Revision: https://reviews.llvm.org/D57069 llvm-svn: 352008
This commit is contained in:
parent
2ba526902f
commit
5d3c441a26
@ -353,8 +353,12 @@ def ADDI : ALU_ri<0b000, "addi">;
|
||||
|
||||
def SLTI : ALU_ri<0b010, "slti">;
|
||||
def SLTIU : ALU_ri<0b011, "sltiu">;
|
||||
|
||||
let isReMaterializable = 1 in {
|
||||
def XORI : ALU_ri<0b100, "xori">;
|
||||
def ORI : ALU_ri<0b110, "ori">;
|
||||
}
|
||||
|
||||
def ANDI : ALU_ri<0b111, "andi">;
|
||||
|
||||
def SLLI : Shift_ri<0, 0b001, "slli">;
|
||||
|
Loading…
Reference in New Issue
Block a user