]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
iselV128Expr_wrk: handle Iex_ITE. This is needed by the recent 'grail' changes....
authorJulian Seward <jseward@acm.org>
Wed, 22 Jan 2020 10:39:53 +0000 (11:39 +0100)
committerJulian Seward <jseward@acm.org>
Wed, 22 Jan 2020 10:39:53 +0000 (11:39 +0100)
VEX/priv/host_arm64_isel.c

index eb7630e84e8f1a0a8e912627b4bfa64cea33bc05..4fa50b981929342739507da33d5b7c193de55ee6 100644 (file)
@@ -3035,10 +3035,9 @@ static HReg iselV128Expr_wrk ( ISelEnv* env, IRExpr* e )
 
    } /* if (e->tag == Iex_Triop) */
 
-   if (0 && e->tag == Iex_ITE) {
-      /* JRS 2019Nov24: I think this is right, and it is somewhat tested, but
-         not as much as I'd like.  Hence disabled till it can be tested more. */
-      // This is pretty feeble.  We'd do better to generate BSL here.
+   if (e->tag == Iex_ITE) {
+      // This code sequence is pretty feeble.  We'd do better to generate BSL
+      // here.
       HReg rX = newVRegI(env);
 
       ARM64CondCode cc = iselCondCode(env, e->Iex.ITE.cond);