Issue 127047
Summary [X86] X86::getConstantFromPool - can't handle non-zero offsets
Labels backend:X86
Assignees
Reporter RKSimon
    X86::getConstantFromPool attempts to extract the Constant data structure from a MachineInstr but currently bails if it finds a non-zero displacement/offset as it can be difficult to extract Constant elements from offset data.

X86FixupVectorConstantsPass and asm comments would really benefit from supporting offset cases if they can still extract the constant element data, so providing an opt-in variant of X86::getConstantFromPool would be very useful.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to