13 lines · plain
1; REQUIRES: x86-registered-target2 3; RUN: llvm-split -o %t %s -mtriple x86_64 -preserve-locals 2>&1 | FileCheck %s4 5; Basic test for a target that doesn't support target-specific module splitting.6 7; CHECK: warning: --preserve-locals has no effect when using TargetMachine::splitModule8; CHECK: warning: TargetMachine::splitModule failed, falling back to default splitModule implementation9 10define void @bar() {11 ret void12}13