[llvm] [DirectX] Propagate shader flags mask of callees to callers (PR #118306)
S. Bharadwaj Yadavalli via llvm-commits
llvm-commits at lists.llvm.org
Tue Jan 7 08:05:06 PST 2025
================
@@ -12,6 +12,13 @@ target triple = "dxil-pc-shadermodel6.7-library"
; CHECK-NEXT: ;
; CHECK-NEXT: ; Shader Flags for Module Functions
+;CHECK: ; Function top_level : 0x00000044
+define void @top_level() #0 {
+ call void @test_uitofp_i64(i64 noundef 5)
----------------
bharadwajy wrote:
> There is no `void @test_uitofp_i64`, and it isn't clear to me what noundef is doing here. I think you meant `call double @test_uitofp_i64(i64 5)`
Changed.
https://github.com/llvm/llvm-project/pull/118306
More information about the llvm-commits
mailing list