[llvm] [DirectX] Undo SimplifyCFG by reversing select into if else basic blocks (PR #153858)

Farzon Lotfi via llvm-commits llvm-commits at lists.llvm.org
Fri Aug 15 15:43:15 PDT 2025


================
@@ -622,6 +625,92 @@ legalizeScalarLoadStoreOnArrays(Instruction &I,
   return true;
 }
 
+// Note: Legalization to undo SimplifyCFG. Ideally, SimplifyCFG's
----------------
farzonl wrote:

TODO: fix comment grammar, make shorter.

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


More information about the llvm-commits mailing list