1; REQUIRES: x86-registered-target 2 3; RUN: llvm-split -o %t %s -mtriple x86_64 -preserve-locals 2>&1 | FileCheck %s 4 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::splitModule 8; CHECK: warning: TargetMachine::splitModule failed, falling back to default splitModule implementation 9 10define void @bar() { 11 ret void 12} 13