mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 11:13:28 +01:00
a4831b8a52
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
8 lines
142 B
LLVM
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
|
|
}
|