mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-02-01 13:11:39 +01:00
0484fccc7a
On GreenDragon, CodeGen/X86/cpus-no-x86_64.ll was still timing out even after breaking up the original test. I further split off the intel and AMD cpus which hopefully resolves this. http://green.lab.llvm.org/green/job/clang-stage2-cmake-RgSan/ llvm-svn: 345438
13 lines
757 B
LLVM
13 lines
757 B
LLVM
; Check that we reject 64-bit mode on 32-bit only CPUs.
|
|
; CHECK-NO-ERROR-NOT: not a recognized processor for this target
|
|
; CHECK-ERROR64: LLVM ERROR: 64-bit code requested on a subtarget that doesn't support it!
|
|
|
|
; RUN: not llc < %s -o /dev/null -mtriple=x86_64-unknown-unknown -mcpu=winchip-c6 2>&1 | FileCheck %s --check-prefix=CHECK-ERROR64
|
|
; RUN: not llc < %s -o /dev/null -mtriple=x86_64-unknown-unknown -mcpu=winchip2 2>&1 | FileCheck %s --check-prefix=CHECK-ERROR64
|
|
; RUN: not llc < %s -o /dev/null -mtriple=x86_64-unknown-unknown -mcpu=c3 2>&1 | FileCheck %s --check-prefix=CHECK-ERROR64
|
|
; RUN: not llc < %s -o /dev/null -mtriple=x86_64-unknown-unknown -mcpu=c3-2 2>&1 | FileCheck %s --check-prefix=CHECK-NO-ERROR
|
|
|
|
define void @foo() {
|
|
ret void
|
|
}
|