llvm / llvm-project

The LLVM Project is a collection of modular and reusable compiler and toolchain technologies.
http://llvm.org
Other
29.3k stars 12.11k forks source link

[DirectX] Implement Shader Flags Analysis for WaveOps #114565

Open bharadwajy opened 3 weeks ago

bharadwajy commented 3 weeks ago

Set function-level flag WaveOps flag if the function uses DXIL Wave Operations - see here

This flag is named m_bWaveOps in dxc sources.

AC:

Add tests to verify the flag is set.

inbelic commented 1 week ago

I will take a look at this as a use-case of https://github.com/llvm/llvm-project/issues/115912

damyanp commented 5 days ago

Waiting on #111867