[PATCH] D156491: [RA] Split a virtual register in cold blocks if it is not assigned preferred physical register

Guozhi Wei via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Sep 16 00:55:52 PDT 2023


Carrot added inline comments.


================
Comment at: llvm/test/CodeGen/X86/ragreedy-hoist-spill.ll:78
 ; CHECK-NEXT:    callq _memset
+; CHECK-NEXT:    movq %r14, %rdi
+; CHECK-NEXT:    movq %rbx, %rdx
----------------
skan wrote:
> @wxiao3 @pengfei It seems a regression for x86.
BB6 has higher frequency than BB7. If the branch in BB6 has 50% of taken probability, the final number of executed instructions are same.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D156491



More information about the llvm-commits mailing list