Skip to content

Commit 1fe4f2d

Browse files
authored
[Inliner][test] Fix incorrect REQUIRE line in inline-switch-default.ll (NFC) (llvm#95009)
It should be `x86-registered-target` because we only need the X86 target in this case. `x86_64-linux` will be too strict here as it puts a prerequisite on the default target triple.
1 parent bb2bf3a commit 1fe4f2d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/test/Transforms/Inline/inline-switch-default.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
; NOTE: Assertions have been autogenerated by utils/update_test_checks.py UTC_ARGS: --version 4
22
; RUN: opt %s -S -passes=inline -inline-threshold=16 -min-jump-table-entries=4 | FileCheck %s -check-prefix=LOOKUPTABLE
33
; RUN: opt %s -S -passes=inline -inline-threshold=11 -min-jump-table-entries=5 | FileCheck %s -check-prefix=SWITCH
4-
; REQUIRES: x86_64-linux
4+
; REQUIRES: x86-registered-target
55

66
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"
77
target triple = "x86_64-unknown-linux-gnu"

0 commit comments

Comments
 (0)