[PATCH] D50634: [RISCV] Add support for local PIC addressing
Roger Ferrer Ibanez via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Aug 13 06:49:09 PDT 2018
rogfer01 added inline comments.
================
Comment at: lib/Target/RISCV/RISCVISelLowering.cpp:372
} else {
- report_fatal_error("Unable to lowerConstantPool");
+ return DAG.getNode(RISCVISD::WRAPPER_PIC, DL, Ty,
+ DAG.getTargetConstantPool(CPA, Ty, Alignment, Offset,
----------------
I don't have a test for this case yet. I have been unable get SelectionDAGBuiler to generate a constantpool from LLVM IR.
Suggestions?
https://reviews.llvm.org/D50634
More information about the llvm-commits
mailing list