[llvm] [DirectX] replace byte splitting via vector bitcast with scalar (PR #140167)

Farzon Lotfi via llvm-commits llvm-commits at lists.llvm.org
Fri May 16 11:48:59 PDT 2025


================
@@ -349,6 +396,7 @@ class DXILLegalizationPipeline {
     LegalizationPipeline.push_back(downcastI64toI32InsertExtractElements);
     LegalizationPipeline.push_back(legalizeFreeze);
     LegalizationPipeline.push_back(removeMemSet);
+    LegalizationPipeline.push_back(legalizeGetHighLowi64Bytes);
----------------
farzonl wrote:

This is going to be a more involved change because we already have a pass that replaces extract elements to handle the i64 indices case. I think we should add stages

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


More information about the llvm-commits mailing list