mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-11-01 15:17:25 +00:00
[PowerPC] PR16512 - Support TLS call sequences in the asm parser
This patch now adds support for recognizing TLS call sequences in the asm parser. This needs a new pattern BL8_TLS, which is like BL8_NOP_TLS except without nop. That pattern is used for the asm parser only. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@185478 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -116,6 +116,9 @@ let isCall = 1, PPC970_Unit = 7, Defs = [LR8] in {
|
||||
def BL8 : IForm<18, 0, 1, (outs), (ins calltarget:$func),
|
||||
"bl $func", BrB, []>; // See Pat patterns below.
|
||||
|
||||
def BL8_TLS : IForm<18, 0, 1, (outs), (ins tlscall:$func),
|
||||
"bl $func", BrB, []>;
|
||||
|
||||
def BLA8 : IForm<18, 1, 1, (outs), (ins abscalltarget:$func),
|
||||
"bla $func", BrB, [(PPCcall (i64 imm:$func))]>;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user