[PATCH] D72392: [MachineScheduler] Fix the TopDepth/BotHeightReduce latency heuristics
    Jay Foad via Phabricator via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Thu Jan  9 03:59:27 PST 2020
    
    
  
foad added a comment.
The diff in `llvm/test/CodeGen/AArch64/arm64-zero-cycle-zeroing.ll` is:
          adrp    x8, .LCPI0_0
  -       ldr     h0, [x8, :lo12:.LCPI0_0]
          movi    v1.2d, #0000000000000000
          movi    v2.2d, #0000000000000000
  +       ldr     h0, [x8, :lo12:.LCPI0_0]
          movi    v3.2d, #0000000000000000
The scheduler prefers not to put the ldr immediately after the adrp because of the register dependency on x8 with latency 1.
Repository:
  rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D72392/new/
https://reviews.llvm.org/D72392
    
    
More information about the llvm-commits
mailing list