llvm-project/llvm/test/tools/llvm-split/target-specific-split.ll
serge-sans-paille ec636cf3c5
[llvm-split][nfc] Harmonize help and error message (#120062)
Somme error / help message refer to options with a single dash while
help refer to options with a double dash.
2024-12-17 19:29:18 +00:00

13 lines
425 B
LLVM

; REQUIRES: x86-registered-target
; RUN: llvm-split -o %t %s -mtriple x86_64 -preserve-locals 2>&1 | FileCheck %s
; Basic test for a target that doesn't support target-specific module splitting.
; CHECK: warning: --preserve-locals has no effect when using TargetMachine::splitModule
; CHECK: warning: TargetMachine::splitModule failed, falling back to default splitModule implementation
define void @bar() {
ret void
}