[all-commits] [llvm/llvm-project] be8a2b: [LoongArch] Replace assertion by error message whi...
Gong LingQin via All-commits
all-commits at lists.llvm.org
Sun Oct 30 18:43:59 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: be8a2b98da582d4cfd96be3b2cf561679a72bbb0
https://github.com/llvm/llvm-project/commit/be8a2b98da582d4cfd96be3b2cf561679a72bbb0
Author: gonglingqin <gonglingqin at loongson.cn>
Date: 2022-10-31 (Mon, 31 Oct 2022)
Changed paths:
M llvm/lib/Target/LoongArch/LoongArchISelLowering.cpp
M llvm/test/CodeGen/LoongArch/frameaddr-returnaddr-error.ll
Log Message:
-----------
[LoongArch] Replace assertion by error message while lowering RETURNADDR and FRAMEADDR
If `__builtin_frame_address` or `__builtin_return_address` is invoked with
non-zero argument, show an error message instead of a crash.
Reference: https://reviews.llvm.org/rG83b88441ad951fe99c30402930ef3cd661f2fd2b
Differential Revision: https://reviews.llvm.org/D136917
More information about the All-commits
mailing list