[llvm] [X86][GlobalISel] Enable G_BUILD_VECTOR and G_CONSTANT_POOL (PR #92844)
Matt Arsenault via llvm-commits
llvm-commits at lists.llvm.org
Thu May 23 08:19:49 PDT 2024
================
@@ -505,6 +505,9 @@ bool X86PassConfig::addRegBankSelect() {
bool X86PassConfig::addGlobalInstructionSelect() {
addPass(new InstructionSelect(getOptLevel()));
+ // Add GlobalBaseReg in case there is no SelectionDAG passes afterwards
+ if (isGlobalISelAbortEnabled())
----------------
arsenm wrote:
would have to think about if we should have the hook. Also, that's the new PM code which I'm not sure even works yet. Should be looking at TargetPassConfig
https://github.com/llvm/llvm-project/pull/92844
More information about the llvm-commits
mailing list