@@ -2822,9 +2822,9 @@ static bool interp__builtin_elementwise_fsh(InterpState &S, CodePtr OpPC,
28222822                                            unsigned  BuiltinID) {
28232823  assert (Call->getNumArgs () == 3 );
28242824
2825-   const   QualType Arg0Type = Call->getArg (0 )->getType ();
2826-   const   QualType Arg1Type = Call->getArg (1 )->getType ();
2827-   const   QualType Arg2Type = Call->getArg (2 )->getType ();
2825+   QualType Arg0Type = Call->getArg (0 )->getType ();
2826+   QualType Arg1Type = Call->getArg (1 )->getType ();
2827+   QualType Arg2Type = Call->getArg (2 )->getType ();
28282828
28292829  //  Non-vector integer types.
28302830  if  (!Arg0Type->isVectorType ()) {
@@ -2875,13 +2875,12 @@ static bool interp__builtin_elementwise_fsh(InterpState &S, CodePtr OpPC,
28752875      Shift = VecShift.elem <T>(I).toAPSInt ();
28762876    });
28772877    APSInt Result;
2878-     if  (BuiltinID == Builtin::BI__builtin_elementwise_fshl) { 
2878+     if  (BuiltinID == Builtin::BI__builtin_elementwise_fshl)
28792879      Result = APSInt (llvm::APIntOps::fshl (Hi, Lo, Shift), Hi.isUnsigned ());
2880-     }  else  if  (BuiltinID == Builtin::BI__builtin_elementwise_fshr) { 
2880+     else  if  (BuiltinID == Builtin::BI__builtin_elementwise_fshr)
28812881      Result = APSInt (llvm::APIntOps::fshr (Hi, Lo, Shift), Hi.isUnsigned ());
2882-     }  else  { 
2882+     else 
28832883      llvm_unreachable (" Wrong builtin ID" 
2884-     }
28852884    INT_TYPE_SWITCH_NO_BOOL (ElemT,
28862885                            { Dst.elem <T>(I) = static_cast <T>(Result); });
28872886  }
0 commit comments