[PATCH] D66210: [RISCV] Enable the machine outliner for RISC-V

Lewis Revill via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 17 07:49:12 PDT 2019


lewis-revill added a comment.

I need to investigate some failures with this patch whereby sections of code which reference different temporary symbols still get outlined, with only one reference being used in the outlined function.

IE the following sequences should definitely not be outlined:

  	lui	a0, %hi(.LCPI1_0)
  	addi	a0, a0, %lo(.LCPI1_0)
          ...
  
  ...
  	lui	a0, %hi(.LCPI2_0)
  	addi	a0, a0, %lo(.LCPI2_0)
          ...
  
  ...
  	lui	a0, %hi(.LCPI3_0)
  	addi	a0, a0, %lo(.LCPI3_0)
          ...




Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D66210/new/

https://reviews.llvm.org/D66210





More information about the llvm-commits mailing list