Files
llvm-project/llvm/lib/Target/DirectX/DirectXTargetMachine.cpp
Finn Plummer ffde06f4c1 [NFC][SPIRV] Move SPIRVStripConvergenceIntrinsics to Utils (#188537)
The `SPIRVStripConvergenceIntrinsic` pass was written as a spirv pass as
it is the currently the only target that emits convergence tokens during
codegen. There is nothing target specific to the pass, and, we plan to
emit convergence tokens when targeting DirectX (and all targets in
general), so move the pass to a common place.

The previous pass used temporary `Undef`s, as part of moving the pass we
can simply reverse the traverse order to remove the use of `Undef` as it
is deprecated.

Enables the pass for targeting DirectX and is a pre-req for:
https://github.com/llvm/llvm-project/pull/188792.

Assisted by: Github Copilot
2026-04-16 09:24:33 -07:00

8.2 KiB