[llvm] [DirectX] Propagate shader flags mask of callees to callers (PR #118306)

Justin Bogner via llvm-commits llvm-commits at lists.llvm.org
Sun Jan 5 16:21:52 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)
----------------
bogner 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)`

https://github.com/llvm/llvm-project/pull/118306


More information about the llvm-commits mailing list