[all-commits] [llvm/llvm-project] 0cabe9: [HLSL] Reintroduce dx.disable_optimizations to set...
joaosaffran via All-commits
all-commits at lists.llvm.org
Mon Mar 2 10:54:17 PST 2026
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 0cabe933812f23ecd605baa82adb2b03fa0ab37d
https://github.com/llvm/llvm-project/commit/0cabe933812f23ecd605baa82adb2b03fa0ab37d
Author: joaosaffran <joaosaffranllvm at gmail.com>
Date: 2026-03-02 (Mon, 02 Mar 2026)
Changed paths:
M clang/lib/CodeGen/CGHLSLRuntime.cpp
M clang/test/CodeGenHLSL/inline-functions.hlsl
M llvm/lib/Target/DirectX/DXILShaderFlags.cpp
M llvm/test/CodeGen/DirectX/ShaderFlags/disable-opt-cs.ll
M llvm/test/CodeGen/DirectX/ShaderFlags/disable-opt-lib.ll
R llvm/test/CodeGen/DirectX/ShaderFlags/lib-entry-attr-error.ll
Log Message:
-----------
[HLSL] Reintroduce dx.disable_optimizations to set DisableOptimization Shader Flag (#180069)
This patch removes optnone from HLSL entry functions and instead uses
`dx.disable_optimizations` module flag to know when to enable
`DisableOptimization` Shader Flag. This is part of: #167936
---------
Co-authored-by: Joao Saffran <jderezende at microsoft.com>
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list