[PATCH] D155240: [amdgpu][lds] Use amdgpu-lds-size instead of llvm.donothing

Jon Chesterfield via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 13 15:49:37 PDT 2023


JonChesterfield added a comment.

The  "amdgpu-lds-size" attributes in tests will mostly disappear on rebase after landing D155190 <https://reviews.llvm.org/D155190>.



================
Comment at: llvm/test/CodeGen/AMDGPU/lower-module-lds-indirect-extern-uses-max-reachable-alignment.ll:184
+; CHECK: attributes #4 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
 
 ; CHECK: !0 = !{i64 0, i64 1}
----------------
^ this is curious, looks like llvm.donothing affects whether a function is considered speculatable.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D155240/new/

https://reviews.llvm.org/D155240



More information about the llvm-commits mailing list