From b14c362fdc1c273fbd660f4781c0d066923dac7a Mon Sep 17 00:00:00 2001 From: Roman Zhuykov Date: Thu, 21 Dec 2023 19:00:31 +0300 Subject: [PATCH] [X86] Add triple to min-spill-size.ll test Issue: https://gitee.com/openharmony/third_party_llvm-project/issues/I8QFQ7 Signed-off-by: Roman Zhuykov --- llvm/test/CodeGen/X86/GC/min-spill-size.ll | 2 ++ 1 file changed, 2 insertions(+) diff --git a/llvm/test/CodeGen/X86/GC/min-spill-size.ll b/llvm/test/CodeGen/X86/GC/min-spill-size.ll index bdcb030606cb..a0288c546a3d 100644 --- a/llvm/test/CodeGen/X86/GC/min-spill-size.ll +++ b/llvm/test/CodeGen/X86/GC/min-spill-size.ll @@ -40,6 +40,8 @@ ; SIZE-DEFAULT: popq %rbp ; SIZE-DEFAULT: retq +target triple = "x86_64-pc-linux-gnu" + define protected ptr addrspace(271) @bar(ptr addrspace(271) %a0) #0 gc "ark" { bb1: %0 = call token (i64, i32, ptr, i32, i32, ...) @llvm.experimental.gc.statepoint.p0(i64 8, i32 0, ptr elementtype(ptr addrspace(271) (ptr addrspace(271))) @foo, i32 1, i32 0, ptr addrspace(271) %a0, i32 0, i32 0) [ "gc-live"(ptr addrspace(271) %a0) ] -- Gitee