[clang] [clang] VectorExprEvaluator::VisitCallExpr - add constant folding for X86 pslldqi/psrldqi intrinsics (PR #157403)

Simon Pilgrim via cfe-commits cfe-commits at lists.llvm.org
Wed Sep 24 05:12:15 PDT 2025


================
@@ -568,7 +573,8 @@ let Features = "avx", Attributes = [NoThrow, Const, RequiredVectorWidth<256>] in
   def vec_set_v8si : X86Builtin<"_Vector<8, int>(_Vector<8, int>, int, _Constant int)">;
 }
 
-let Features = "avx2", Attributes = [NoThrow, Const, RequiredVectorWidth<256>] in {
+let Features = "avx2",
+    Attributes = [NoThrow, Const, RequiredVectorWidth<256>] in {
----------------
RKSimon wrote:

(style) revert changes from code unrelated to the patch (this includes formatting)

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


More information about the cfe-commits mailing list