[llvm] [Xtensa] Implement Xtensa Floating Point Option. (PR #136086)
Andrei Safronov via llvm-commits
llvm-commits at lists.llvm.org
Wed Jun 11 17:54:04 PDT 2025
================
@@ -50,6 +50,12 @@ class XtensaDAGToDAGISel : public SelectionDAGISel {
int Scale) {
EVT ValTy = Addr.getValueType();
+ if (Addr.getOpcode() == XtensaISD::PCREL_WRAPPER) {
+ Base = Addr.getOperand(0);
+ if (Base.getOpcode() == ISD::TargetConstantPool)
+ return false; // We want to select L32R instead.
+ }
+
----------------
andreisfr wrote:
fixed
https://github.com/llvm/llvm-project/pull/136086
More information about the llvm-commits
mailing list