[PATCH] D136215: [LoongArch] Add support for ISD::FRAMEADDR and ISD::RETURNADDR

Gong LingQin via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Oct 23 23:13:15 PDT 2022


gonglingqin added inline comments.


================
Comment at: llvm/test/CodeGen/LoongArch/frameaddr-returnaddr-error.ll:6
+
+define ptr @test_frameaddress_0(i32 %x) nounwind {
+; CHECK: argument to '__builtin_frame_address' must be a constant integer
----------------
SixWeining wrote:
> SixWeining wrote:
> > The `_0` suffix is needless as you don't have `_1` or `_2`.
> Perhaps `non_const_depth_frameaddress`?
Thanks, I will modify it.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D136215



More information about the llvm-commits mailing list