[clang] [llvm] [DirectX] Specify element-aligned vectors (PR #180622)
Finn Plummer via cfe-commits
cfe-commits at lists.llvm.org
Wed Mar 11 11:56:02 PDT 2026
================
@@ -566,8 +566,8 @@ std::string Triple::computeDataLayout(StringRef ABIName) const {
// TODO: We need to align vectors on the element size generally, but for now
// we hard code this for 3-element 32- and 64-bit vectors as a workaround.
// See https://github.com/llvm/llvm-project/issues/123968
- return "e-m:e-p:32:32-i1:32-i8:8-i16:16-i32:32-i64:64-f16:16-"
- "f32:32-f64:64-n8:16:32:64-v48:16:16-v96:32:32-v192:64:64";
+ return "e-m:e-ve-p:32:32-i1:32-i8:8-i16:16-i32:32-i64:64-f16:16-"
----------------
inbelic wrote:
Can we remove the todo above?
https://github.com/llvm/llvm-project/pull/180622
More information about the cfe-commits
mailing list