forked from OSchip/llvm-project
[Target] Change PATCHABLE_EVENT_CALL/PATCHABLE_TYPED_EVENT_CALL to use unknown instead of i8imm/i16imm/i32imm in its definition.
These instructions don't use immediates, they use registers. But the register class needed is target specific. So just use unknown.
This commit is contained in:
parent
bbe2fcbd15
commit
264612e138
|
@ -1210,7 +1210,7 @@ def PATCHABLE_TAIL_CALL : StandardPseudoInstruction {
|
|||
}
|
||||
def PATCHABLE_EVENT_CALL : StandardPseudoInstruction {
|
||||
let OutOperandList = (outs);
|
||||
let InOperandList = (ins ptr_rc:$event, i8imm:$size);
|
||||
let InOperandList = (ins ptr_rc:$event, unknown:$size);
|
||||
let AsmString = "# XRay Custom Event Log.";
|
||||
let usesCustomInserter = 1;
|
||||
let isCall = 1;
|
||||
|
@ -1220,7 +1220,7 @@ def PATCHABLE_EVENT_CALL : StandardPseudoInstruction {
|
|||
}
|
||||
def PATCHABLE_TYPED_EVENT_CALL : StandardPseudoInstruction {
|
||||
let OutOperandList = (outs);
|
||||
let InOperandList = (ins i16imm:$type, ptr_rc:$event, i32imm:$size);
|
||||
let InOperandList = (ins unknown:$type, ptr_rc:$event, unknown:$size);
|
||||
let AsmString = "# XRay Typed Event Log.";
|
||||
let usesCustomInserter = 1;
|
||||
let isCall = 1;
|
||||
|
|
Loading…
Reference in New Issue