[llvm] 1494d06 - [AMDGPU][test] Add dso_local to prevent preemptible alias resolution

Fangrui Song via llvm-commits llvm-commits at lists.llvm.org
Tue Feb 1 10:23:49 PST 2022


Author: Fangrui Song
Date: 2022-02-01T10:23:45-08:00
New Revision: 1494d064fa8b4fbffc24cc2672b3b0cd1bbb098c

URL: https://github.com/llvm/llvm-project/commit/1494d064fa8b4fbffc24cc2672b3b0cd1bbb098c
DIFF: https://github.com/llvm/llvm-project/commit/1494d064fa8b4fbffc24cc2672b3b0cd1bbb098c.diff

LOG: [AMDGPU][test] Add dso_local to prevent preemptible alias resolution

Added: 
    

Modified: 
    llvm/test/CodeGen/AMDGPU/early-inline.ll

Removed: 
    


################################################################################
diff  --git a/llvm/test/CodeGen/AMDGPU/early-inline.ll b/llvm/test/CodeGen/AMDGPU/early-inline.ll
index eb533048e8d2d..9ad3de117b1fa 100644
--- a/llvm/test/CodeGen/AMDGPU/early-inline.ll
+++ b/llvm/test/CodeGen/AMDGPU/early-inline.ll
@@ -1,8 +1,8 @@
 ; RUN: opt -mtriple=amdgcn-- -O1 -S -inline-threshold=1 -amdgpu-early-inline-all %s | FileCheck %s
 
- at c_alias = alias i32 (i32), i32 (i32)* @callee
+ at c_alias = dso_local alias i32 (i32), i32 (i32)* @callee
 
-define i32 @callee(i32 %x) {
+define dso_local i32 @callee(i32 %x) {
 entry:
   %mul1 = mul i32 %x, %x
   %mul2 = mul i32 %mul1, %x


        


More information about the llvm-commits mailing list