This PR provides implementation of the basic codegen infra such as TargetFrameLowering, MCInstLower, AsmPrinter, RegisterInfo, InstructionInfo, TargetLowering, SelectionDAGISel. Migrated from https://reviews.llvm.org/D145658
6 lines
235 B
LLVM
6 lines
235 B
LLVM
; RUN: llc -mtriple=xtensa -filetype=asm %s -o - | FileCheck %s
|
|
; RUN: llc -mtriple=xtensa -filetype=obj %s -o - | llvm-objdump --arch=xtensa -d - | FileCheck %s --check-prefix=DUMP
|
|
|
|
; CHECK: .text
|
|
; DUMP: file format elf32-xtensa
|