This adds the initial GlobalISel skeleton for PowerPC. It can only run ir-translator and legalizer for `ret void`. This is largely based on the initial GlobalISel patch for RISCV (https://reviews.llvm.org/D65219). Reviewed By: arsenm Differential Revision: https://reviews.llvm.org/D83100
8 lines
194 B
LLVM
8 lines
194 B
LLVM
; RUN: llc -mtriple=powerpc64le-unknown-linux-gnu -global-isel -verify-machineinstrs -stop-after=irtranslator < %s | FileCheck %s
|
|
|
|
; CHECK: name: f
|
|
; CHECK: BLR8
|
|
define void @f() {
|
|
ret void
|
|
}
|