[llvm] [SEH] Add test to track EHa register liveness verification (PR #76921)

Phoebe Wang via llvm-commits llvm-commits at lists.llvm.org
Thu Jan 4 01:17:34 PST 2024


================
@@ -0,0 +1,69 @@
+; XFAIL: *
+; RUN: llc --verify-machineinstrs < %s | FileCheck %s
+source_filename = "test.cpp"
+target datalayout = "e-m:w-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
+target triple = "x86_64-pc-windows-msvc19.12.0"
+
+$"?test at Test@@Plugin@@Host@@@Z" = comdat any
+
+declare dso_local i32 @__CxxFrameHandler3(...)
+
+; Function Attrs: nounwind memory(none)
+declare dso_local void @llvm.seh.scope.begin() #1
+
+; Function Attrs: nobuiltin allocsize(0)
+declare dso_local noundef nonnull ptr @"??2 at Test@Z"(i64 noundef) #1
----------------
phoebewang wrote:

Remove the `dso_local`, `noundef` etc.

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


More information about the llvm-commits mailing list