[llvm] [X86] Use RORX over SHR imm (PR #77964)

Phoebe Wang via llvm-commits llvm-commits at lists.llvm.org
Fri Jan 12 17:20:56 PST 2024


================
@@ -157,7 +157,8 @@ define i1 @shr_to_shl_eq_i16_s1_fail(i16 %x) {
 ; CHECK:       # %bb.0:
 ; CHECK-NEXT:    movzwl %di, %eax
 ; CHECK-NEXT:    andl $32766, %edi # imm = 0x7FFE
-; CHECK-NEXT:    shrl %eax
+; CHECK-NOBMI-NEXT:    shrl %eax
----------------
phoebewang wrote:

Use `utils/update_llc_test_checks.py` to update the test.

https://github.com/llvm/llvm-project/pull/77964


More information about the llvm-commits mailing list