[llvm] [X86] Handle BSF/BSR "zero-input pass through" behaviour (PR #123623)
Simon Pilgrim via llvm-commits
llvm-commits at lists.llvm.org
Thu Jan 23 02:44:56 PST 2025
================
@@ -15,12 +15,12 @@ bsf %rax, %rcx
# CHECK: Iterations: 100
# CHECK-NEXT: Instructions: 400
-# CHECK-NEXT: Total Cycles: 655
+# CHECK-NEXT: Total Cycles: 663
----------------
RKSimon wrote:
Because llvm-mca is too smart :) It can now tell that the passthrough source has a dependency on the destination
https://github.com/llvm/llvm-project/pull/123623
More information about the llvm-commits
mailing list