Skip to content

Commit a3c60da

Browse files
committed
[SYCL][Test] Add datalayout due to e39f6c1
e39f6c1 changed the default datalayout. Need to add datalayout explictly to llvm/test/SYCLLowerIR/convergent.ll to keep what we tested. llvm/test/Transforms/SimplifyCFG/X86/switch-to-lookup-large-types.ll delete a run line to sync to llorg version , 1b44015 removed the line without datalayout, we somehow did a bad merge.
1 parent d924b28 commit a3c60da

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

llvm/test/SYCLLowerIR/convergent.ll

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
; RUN: opt < %s -passes=LowerWGScope -S | FileCheck %s
55
; RUN: opt < %s -passes=LowerWGScope --mtriple=nvptx -S | FileCheck %s -check-prefix=CHECK -check-prefix=CHECK-PTX
66

7+
target datalayout = "e-i64:64-v16:16-v32:32-n16:32:64"
78

89
%struct.baz = type { i64 }
910

llvm/test/Transforms/SimplifyCFG/X86/switch-to-lookup-large-types.ll

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
; NOTE: Assertions have been autogenerated by utils/update_test_checks.py UTC_ARGS: --scrub-attributes --check-globals
2-
; RUN: opt -passes=simplifycfg --switch-to-lookup -S %s | FileCheck %s
32
; RUN: opt '-passes=simplifycfg<switch-to-lookup>' -data-layout="e" -S %s | FileCheck %s
43
;; If basic integer types are natively supported, the value is generated inline instead of using a global
54
; RUN: opt '-passes=simplifycfg<switch-to-lookup>' -data-layout="e-n8:16:32:64" -S %s | FileCheck %s --check-prefix=INLINE

0 commit comments

Comments
 (0)