[llvm] [AMDGPU] Create an AMDGPUIfConverter pass (PR #106415)

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 28 09:40:03 PDT 2024


Juan Manuel Martinez =?utf-8?q?Caamaño?= <juamarti at amd.com>,
Juan Manuel Martinez =?utf-8?q?Caamaño?= <juamarti at amd.com>,
Juan Manuel Martinez =?utf-8?q?Caamaño?= <juamarti at amd.com>,
Juan Manuel Martinez =?utf-8?q?Caamaño?= <juamarti at amd.com>,
Juan Manuel Martinez =?utf-8?q?Caamaño?= <juamarti at amd.com>
Message-ID:
In-Reply-To: <llvm.org/llvm/llvm-project/pull/106415 at github.com>


================
@@ -199,11 +199,6 @@ static VGPRRegisterRegAlloc fastRegAllocVGPR(
   "fast", "fast register allocator", createFastVGPRRegisterAllocator);
 } // anonymous namespace
 
-static cl::opt<bool>
-EnableEarlyIfConversion("amdgpu-early-ifcvt", cl::Hidden,
-                        cl::desc("Run early if-conversion"),
-                        cl::init(false));
----------------
arsenm wrote:

I'd expect most if conversion to be done on the IR level. What cases do we need more aggressive MIR conversion for?

Can this be done in 2 steps? One showing the benefit of turning this one, and then another with the replacement pass? 

https://github.com/llvm/llvm-project/pull/106415


More information about the llvm-commits mailing list