[PATCH] D151276: Weaken MFI Max Call Frame Size Assertion

Matthias Braun via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed May 31 11:24:03 PDT 2023


MatzeB added inline comments.


================
Comment at: llvm/test/CodeGen/AArch64/compute-call-frame-size-unreachable-pass.ll:1
+; RUN: llc < %s -mtriple aarch64-none-linux-android21
+
----------------
A simple `-mtriple aarch64--` may work too.


================
Comment at: llvm/test/CodeGen/AArch64/compute-call-frame-size-unreachable-pass.ll:10-26
+define internal fastcc void @decrypt_pkt() unnamed_addr #0 !type !0 !type !1 {
+entry:
+  br i1 false, label %cont, label %trap, !nosanitize !2
+
+trap:                                             ; preds = %entry
+  unreachable, !nosanitize !2
+
----------------
can you simplify (in the sense of less lines in the .ll file) this test more by dropping the `!type` annotations and the data for them, the `#0` attribute function attributes, `internal` and `fastcc`, the `!nosanitize` metadata?


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

https://reviews.llvm.org/D151276



More information about the llvm-commits mailing list