[PATCH] D96485: [MachineSink] Add a loop sink limit
ChenZheng via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Feb 12 23:01:02 PST 2021
shchenz added inline comments.
================
Comment at: llvm/test/CodeGen/AArch64/loop-sink.mir:1052
; CHECK: [[ADRP:%[0-9]+]]:gpr64common = ADRP target-flags(aarch64-page) @A
- ; CHECK: [[LDRWui:%[0-9]+]]:gpr32 = LDRWui killed [[ADRP]], target-flags(aarch64-pageoff, aarch64-nc) @A :: (dereferenceable load 4 from `i32* getelementptr inbounds ([100 x i32], [100 x i32]* @A, i64 0, i64 0)`)
+ ; CHECK: [[LDRWui:%[0-9]+]]:gpr32 = LDRWui [[ADRP]], target-flags(aarch64-pageoff, aarch64-nc) @A :: (dereferenceable load 4 from `i32* getelementptr inbounds ([100 x i32], [100 x i32]* @A, i64 0, i64 0)`)
; CHECK: [[SDIVWr:%[0-9]+]]:gpr32 = SDIVWr [[PHI2]], [[LDRWui]]
----------------
Is this expected? Not sure why this is impacted by the patch. Seems the sinking number are just the same as we have same instruction sequence except for the `killed` flag
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D96485/new/
https://reviews.llvm.org/D96485
More information about the llvm-commits
mailing list