[llvm] 9299a13 - [DirectX] Remove unneccary check lines (#90979)

via llvm-commits llvm-commits at lists.llvm.org
Fri May 3 12:54:26 PDT 2024


Author: Chris B
Date: 2024-05-03T14:54:21-05:00
New Revision: 9299a136dc34be56ada6d957a438d9d5a7c91df2

URL: https://github.com/llvm/llvm-project/commit/9299a136dc34be56ada6d957a438d9d5a7c91df2
DIFF: https://github.com/llvm/llvm-project/commit/9299a136dc34be56ada6d957a438d9d5a7c91df2.diff

LOG: [DirectX] Remove unneccary check lines (#90979)

These check lines break as of 91446e2aa687e due to changes in how LLVM
handles debug information. Since debug informaiton isn't important to
what this test is verifying we can remove the check lines.

Added: 
    

Modified: 
    llvm/test/CodeGen/DirectX/strip-fn-attrs.ll

Removed: 
    


################################################################################
diff  --git a/llvm/test/CodeGen/DirectX/strip-fn-attrs.ll b/llvm/test/CodeGen/DirectX/strip-fn-attrs.ll
index 0bfe4dac0789c2..b0dd89cf90f2b2 100644
--- a/llvm/test/CodeGen/DirectX/strip-fn-attrs.ll
+++ b/llvm/test/CodeGen/DirectX/strip-fn-attrs.ll
@@ -9,11 +9,7 @@ define dso_local float @fma(float %0, float %1, float %2) local_unnamed_addr #0
   ret float %5
 }
 
-; CHECK-NOT: Function Attrs:
-declare void @llvm.dbg.value(metadata, metadata, metadata) #1
-
 ; CHECK: attributes #0 = { nounwind memory(none) }
 ; CHECK-NOT: attributes #
 
 attributes #0 = { norecurse nounwind readnone willreturn }
-attributes #1 = { nofree nosync nounwind readnone speculatable willreturn }


        


More information about the llvm-commits mailing list