[llvm] [DAG] Improved handling of ISD::ROTL and ISD::ROTR in isKnownToBeAPowerOfTwo (PR #182744)
Mir Immad via llvm-commits
llvm-commits at lists.llvm.org
Tue Mar 3 02:28:06 PST 2026
================
@@ -11,6 +11,8 @@ declare i32 @llvm.smin.i32(i32, i32)
declare i32 @llvm.smax.i32(i32, i32)
declare i32 @llvm.fshl.i32(i32, i32, i32)
declare i32 @llvm.fshr.i32(i32, i32, i32)
+declare <4 x i32> @llvm.fshl.v4i32(<4 x i32>, <4 x i32>, <4 x i32>)
+declare <4 x i32> @llvm.fshr.v4i32(<4 x i32>, <4 x i32>, <4 x i32>)
----------------
mirimmad wrote:
The code does not compile without these. `update_llc_test_checks.py` fails.
https://github.com/llvm/llvm-project/pull/182744
More information about the llvm-commits
mailing list