http://llvm.org/bugs/show_bug.cgi?id=2916
Summary: SubReg implementation can not be used to insert the hi
sub-register.
Product: tools
Version: trunk
Platform: PC
URL: http://lists.cs.uiuc.edu/pipermail/llvmdev/2008-
October/017786.html
OS/Version: Linux
Status: NEW
Keywords: portability
Severity: normal
Priority: P2
Component: llc
AssignedTo: [EMAIL PROTECTED]
ReportedBy: [EMAIL PROTECTED]
CC: [email protected]
We have 16-bit register class and want to set both the lo and high parts using
INSERT_SUBREG. The hi part can not be inserted using SubIdx 2 unless you
declare the sub register class twice in the SubRegClassList.
def FSR16: RegisterClass <"PIC16", [i16], 8, [FSR0, FSR1]> {
let SubRegClassList = [FSR8, FSR8]; // HERE.
}
For more details refer to the email thread.
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs