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

Phoebe Wang via llvm-commits llvm-commits at lists.llvm.org
Sat Jan 13 18:08:01 PST 2024


================
@@ -0,0 +1,126 @@
+; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py UTC_ARGS: --version 4
+; RUN: llc < %s -mtriple=x86_64-unknown-unknown | FileCheck %s --check-prefix=NOBMI
+; RUN: llc < %s -mtriple=x86_64-unknown-unknown -mattr=+bmi2 | FileCheck %s --check-prefix=BMI
----------------
phoebewang wrote:

You can use
```
--check-prefixes=CHECK,NOBMI
--check-prefixes=CHECK,BMI
```
to merge the same check.

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


More information about the llvm-commits mailing list