Displaying 4 results from an estimated 4 matches for "tms9900isd".
2017 Nov 05
2
What pattern string corresponds to CopyToReg?
...wind optnone
define signext i16 @my_func() #0 {
entry:
ret i16 127
}
------- debug output --------
Optimized legalized selection DAG: BB#0 'my_func:entry'
SelectionDAG has 5 nodes:
t0: ch = EntryToken
t3: ch,glue = CopyToReg t0, Register:i16 %R5, Constant:i16<127>
t4: ch = TMS9900ISD::Ret t3, Register:i16 %R5, t3:1
===== Instruction selection begins: BB#0 'entry'
Selecting: t4: ch = TMS9900ISD::Ret t3, Register:i16 %R5, t3:1
ISEL: Starting pattern match on root node: t4: ch = TMS9900ISD::Ret t3,
Register:i16 %R5, t3:1
Morphed node: t4: ch,glue = Retr Register:i16 %...
2017 Nov 05
2
What pattern string corresponds to CopyToReg?
...>>
>> ------- debug output --------
>>
>> Optimized legalized selection DAG: BB#0 'my_func:entry'
>> SelectionDAG has 5 nodes:
>> t0: ch = EntryToken
>> t3: ch,glue = CopyToReg t0, Register:i16 %R5, Constant:i16<127>
>> t4: ch = TMS9900ISD::Ret t3, Register:i16 %R5, t3:1
>>
>> ===== Instruction selection begins: BB#0 'entry'
>> Selecting: t4: ch = TMS9900ISD::Ret t3, Register:i16 %R5, t3:1
>>
>> ISEL: Starting pattern match on root node: t4: ch = TMS9900ISD::Ret t3,
>> Register:i16 %R5, t3:...
2017 Nov 05
2
What pattern string corresponds to CopyToReg?
So there's a DAG that looks like this in the debug output:
Selecting: t3: ch,glue = CopyToReg t0, Register:i16 %R5, Constant:i16<127>
In the instruction selection phase, what pattern would that match? I've
constructed this so far:
(??? REG16:$dst, i16imm:$src)
but the problem is, I can't determine what to use as ???. There is an
ISD::CopyToReg enum value, but I don't
2017 Nov 02
2
Why am I getting FrameIndex:i64<0> when I have no i64's?
...<LD2[@global_var](dereferenceable)> t8,
GlobalAddress:i64<i16* @global_var> 0, undef:i64
t11: i16,ch = load<LD2[%a.addr](dereferenceable)> t8,
FrameIndex:i64<0>, undef:i64
t12: i16 = add nsw t10, t11
t15: ch,glue = CopyToReg t13, Register:i16 %R5, t12
t16: ch = TMS9900ISD::Ret t15, Register:i16 %R5, t15:1
...
Where are the i64's coming from?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20171102/a4f040e7/attachment.html>