Skip to content

[DirectX] Figure out vector alignments and data layout #123968

@llvm-beanz

Description

@llvm-beanz

A few years ago I posted a patch to phabricator to try and represent DXIL's odd vector alignment rules in the LLVM data layout (https://reviews.llvm.org/D133379).

That patch isn't quite right, but we likely need to figure out something in order to get correct vector alignment especially as we're trying to add vectors to DXIL in SM 6.9.

AC:

  • figure out the plan
  • likely requires an RFC which'll need iteration etc.

Metadata

Metadata

Type

No type

Projects

Status

No status

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions