In the ARMRegisterInfo.td - Line 219
Could anyone explain how 'AltOrders' will be initialized for the
GPRwithAPSR record?
In particular, I am curious of the following dag operation 'trunc'?
Thanks,
list<dag> AltOrders = [(add LR, GPRnopc), (trunc GPRnopc, 8)];
------
def GPRwithAPSR : RegisterClass<"ARM", [i32], 32, (add (sub GPR,
PC),
APSR_NZCV)> {
let AltOrders = [(add LR, GPRnopc), (trunc GPRnopc, 8)];
let AltOrderSelect = [{
return 1 +
MF.getTarget().getSubtarget<ARMSubtarget>().isThumb1Only();
}];
}
--UGR
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://lists.llvm.org/pipermail/llvm-dev/attachments/20150122/02a12a15/attachment.html>