[llvm] [X86][GlobalISel] Enable G_BUILD_VECTOR and G_CONSTANT_POOL (PR #92844)
Matt Arsenault via llvm-commits
llvm-commits at lists.llvm.org
Wed May 22 14:11:12 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:
This shouldn't need to consider which selector is enabled, the passes have to check if the selection failed or not
https://github.com/llvm/llvm-project/pull/92844
More information about the llvm-commits
mailing list