1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 11:13:28 +01:00
llvm-mirror/test/CodeGen/Hexagon/generic-cpu.ll
Brendon Cahoon a4831b8a52 [Hexagon] Add a "generic" cpu
Add the generic processor for Hexagon so that it can be used
with 3rd party programs that create a back-end with the
"generic" CPU. This patch also enables the JIT for Hexagon.

Differential Revision: https://reviews.llvm.org/D48571

llvm-svn: 335641
2018-06-26 18:44:05 +00:00

8 lines
142 B
LLVM

; RUN: llc -mtriple=hexagon-unknown-elf -mcpu=generic < %s | FileCheck %s
; CHECK-NOT: invalid CPU
define i32 @test(i32 %a) {
ret i32 0
}