diff --git a/src/cmd/llvmplugin/CMakeLists.txt b/src/cmd/llvmplugin/CMakeLists.txt index c0901aff884ff7..85de2a7b9c7949 100644 --- a/src/cmd/llvmplugin/CMakeLists.txt +++ b/src/cmd/llvmplugin/CMakeLists.txt @@ -168,7 +168,7 @@ if(BUILD_TESTING) foreach(GOALLC_CALLIND_TARGET IN ITEMS X86 AArch64) if(GOALLC_CALLIND_TARGET STREQUAL "X86") set(GOALLC_CALLIND_TRIPLE "x86_64-unknown-linux-goobj") - set(GOALLC_CALLIND_OFFSET 20) + set(GOALLC_CALLIND_OFFSET 17) set(GOALLC_DIRECT_CALL_RELOC 7) else() set(GOALLC_CALLIND_TRIPLE "aarch64-unknown-linux-goobj") diff --git a/src/cmd/llvmplugin/testdata/alloca-pointer-vector-unsupported.ll b/src/cmd/llvmplugin/testdata/alloca-pointer-vector-unsupported.ll index 97580c33975290..833ae41d737a34 100644 --- a/src/cmd/llvmplugin/testdata/alloca-pointer-vector-unsupported.ll +++ b/src/cmd/llvmplugin/testdata/alloca-pointer-vector-unsupported.ll @@ -4,7 +4,7 @@ declare goabiinternal void @safepoint() define goabiinternal void @pointer_vector_alloca() "go-stack-growth-statepoint" gc "goallc" { entry: - %slot = alloca <2 x ptr>, align 16 + %slot = alloca <1 x ptr>, align 8 call goabiinternal void @safepoint() ret void }