Skip to content

Commit 273a0c9

Browse files
committed
[PhaseOrdering] Add data layout to test (NFC)
Needed for switch to lookup table optimization.
1 parent 5ab5810 commit 273a0c9

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

llvm/test/Transforms/PhaseOrdering/switch_with_geps.ll

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33
; RUN: opt -S -passes='default<O2>' < %s | FileCheck %s
44
; RUN: opt -S -passes='default<O3>' < %s | FileCheck %s
55

6+
target datalayout = "n64"
7+
68
%"OpKind::Zero" = type { [1 x i32], i32 }
79
%"OpKind::One" = type { [1 x i32], i32, i16, [1 x i16] }
810
%"OpKind::Two" = type { [1 x i32], i32, i16, i16 }

0 commit comments

Comments
 (0)