[llvm] [AArch64][SME] Fix inlining bug introduced in #78703 (PR #79994)

Sander de Smalen via llvm-commits llvm-commits at lists.llvm.org
Wed Jan 31 01:17:06 PST 2024


================
@@ -2,70 +2,71 @@
 ; RUN: opt < %s -mtriple=aarch64-unknown-linux-gnu -mattr=+sme -S -passes=inline | FileCheck %s
 
 declare void @inlined_body() "aarch64_pstate_sm_compatible";
+declare i32 @llvm.vscale()
 
 ; Define some functions that will be called by the functions below.
 ; These just call a '...body()' function. If we see the call to one of
 ; these functions being replaced by '...body()', then we know it has been
 ; inlined.
----------------
sdesmalen-arm wrote:

Good spot, I've rephrased it.

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


More information about the llvm-commits mailing list