HomePhabricator

[VE] Minimal codegen for empty functions

Authored by kaz7 on Jan 14 2020, 12:58 AM.

Description

[VE] Minimal codegen for empty functions

Summary:
This patch implements minimal VE code generation for empty function bodies (no args, no value return).

Contents

  • empty function code generation test.
  • Minimal function prologue & epilogue emission
  • Instruction formats and instruction definitions as far as required for the empty function prologue & epilogue.
  • I64 register class definitions.

Reviewed By: arsenm

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

Details

Committed
simollJan 15 2020, 12:55 AM
Reviewer
arsenm
Differential Revision
D72598: [VE] Minimal codegen for empty functions
Parents
rGbe8f217b180e: [X86] Don't call LowerUINT_TO_FP_i32 for i32->f80 on 32-bit targets with sse2.
Branches
Unknown
Tags
Unknown