[PATCH] D119905: [X86ISelLowering] permit BlockAddressSDNode "i" constraints for PIC

Nick Desaulniers via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Feb 15 16:28:26 PST 2022


nickdesaulniers added inline comments.


================
Comment at: llvm/lib/Target/X86/X86ISelLowering.cpp:54796
+      if (auto *BA = dyn_cast<BlockAddressSDNode>(Op)) {
+        if (BA->getBlockAddress()->getFunction() != &DAG.getMachineFunction().getFunction())
+          return;
----------------
interesting, the code formatter didn't run on this file. Probably because it's too big.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D119905



More information about the llvm-commits mailing list