[PATCH] D82525: [FPEnv] Intrinsics for access to FP control modes

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 13 06:38:05 PDT 2023


arsenm added a comment.

Could you also handle GlobalISel?



================
Comment at: llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp:4855-4857
+    Type *ByteTy = EVT(MVT::i8).getTypeForEVT(*DAG.getContext());
+    auto *PtrTy = PointerType::get(ByteTy, DL.getAllocaAddrSpace());
+    Type *IntTy = DL.getIntPtrType(PtrTy);
----------------
You don't need to bother with this typed pointer dance anymore


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D82525/new/

https://reviews.llvm.org/D82525



More information about the llvm-commits mailing list