File tree Expand file tree Collapse file tree 2 files changed +17
-0
lines changed Expand file tree Collapse file tree 2 files changed +17
-0
lines changed Original file line number Diff line number Diff line change 1+ target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i8:8:32-i16:16:32-i64:64-i128:128-n32:64-S128-Fn32"
2+ target triple = "native_cpu"
Original file line number Diff line number Diff line change 1+ ; Prepare bitcode files.
2+ ; RUN: rm -rf %t && mkdir -p %t
3+ ; RUN: llvm-as %s -o %t/main.bc
4+ ; RUN: llvm-as %p/Inputs/libspirv-native_cpu.ll -o %t/libspirv-native_cpu.bc
5+
6+ ; No warnings expected for linking in libspirv-native_cpu.bc.
7+ ; RUN: llvm-link %t/main.bc %t/libspirv-native_cpu.bc -S 2>&1 | FileCheck %s
8+
9+ target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
10+ target triple = "x86_64-unknown-linux-gnu"
11+
12+ ; CHECK-NOT: warning:
13+ ; CHECK: target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
14+ ; CHECK: target triple = "x86_64-unknown-linux-gnu"
15+ ; CHECK-NOT: warning:
You can’t perform that action at this time.
0 commit comments