[LLVMbugs] [Bug 2916] New: SubReg implementation can not be used to insert the hi sub-register.
bugzilla-daemon at cs.uiuc.edu
bugzilla-daemon at cs.uiuc.edu
Sat Oct 18 06:58:43 PDT 2008
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: unassignedbugs at nondot.org
ReportedBy: sanjiv.gupta at microchip.com
CC: llvmbugs at cs.uiuc.edu
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.
More information about the llvm-bugs
mailing list