[PATCH] D71742: Added intrinsics for access to FP environment
Matt Arsenault via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri May 19 11:11:37 PDT 2023
arsenm added inline comments.
================
Comment at: llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp:12381
+ SDValue Callee = getExternalSymbol(TLI->getLibcallName(LC),
+ TLI->getPointerTy(getDataLayout()));
+ TargetLowering::CallLoweringInfo CLI(*this);
----------------
If not getting it from the actual declaration, should probably use the default program address space (don't really care if you fix it here, 90% of the uses of this are wrong as it is)
================
Comment at: llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp:6591
+ Chain =
+ DAG.getStore(Chain, sdl, Env, Temp, MPI, DLayout.getStackAlignment(),
+ MachineMemOperand::MOStore);
----------------
This should use the alignment for EnvVT, not the datalayout's stack alignment
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D71742/new/
https://reviews.llvm.org/D71742
More information about the llvm-commits
mailing list