http://llvm.org/bugs/show_bug.cgi?id=15264
Bug ID: 15264
Summary: RegisterCoalescer should do more subregister remats
Product: libraries
Version: trunk
Hardware: PC
OS: All
Status: NEW
Severity: enhancement
Priority: P
Component: Register Allocator
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected]
Classification: Unclassified
It should be possible to remat this pair of instructions:
DefMI: %vreg11<def> = MOV16r0 %EFLAGS<imp-def,dead>; GR16:%vreg11
CopyMI: %vreg23:sub_16bit<def,read-undef> = COPY %vreg11; GR32:%vreg23
NewMI: %vreg23:sub_16bit<def,read-undef> = MOV16r0 %EFLAGS<imp-def,dead>;
GR32:%vreg23
However, reMaterializeTrivialDef() currently bails because GR32 != GR16.
--
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