[clang] [llvm] SystemZ: Add support for __builtin_setjmp and __builtin_longjmp. (PR #119257)

Ulrich Weigand via llvm-commits llvm-commits at lists.llvm.org
Tue Dec 10 08:02:13 PST 2024


================
@@ -0,0 +1,51 @@
+; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py UTC_ARGS: --version 5
+; Test longjmp load from jmp_buf.
+; Frame pointer from Slot 1.
+; Jump address from Slot 2.
+; Backchain Value from Slot 3.
+; Stack Pointer from Slot 4.
+; Literal Pool Pointer from Slot 5.
+
+; RUN: llc < %s -verify-machineinstrs -mtriple=s390x-linux-gnu | FileCheck %s
+
+; RUN: llc < %s -mtriple=s390x-linux-gnu -O2 | FileCheck %s
----------------
uweigand wrote:

Why do we need to run this twice?  Apparently this gives the exact same output as the same FileCheck prefix matches both?  If so, I don't think we need this.   (Same for the other tests.)

https://github.com/llvm/llvm-project/pull/119257


More information about the llvm-commits mailing list