[PATCH] D136917: [LoongArch] Replace assertion by error message while lowering RETURNADDR and FRAMEADDR

WÁNG Xuěruì via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 27 23:45:23 PDT 2022


xen0n added inline comments.


================
Comment at: llvm/test/CodeGen/LoongArch/frameaddr-returnaddr-error.ll:20
+define ptr @non_zero_frameaddress() nounwind {
+; CHECK: frame address can only be determined for current frame
+  %1 = call ptr @llvm.frameaddress(i32 1)
----------------
nit: "for the current frame"?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D136917



More information about the llvm-commits mailing list