https://bugs.kde.org/show_bug.cgi?id=468575

--- Comment #53 from Mark Wielaard <m...@klomp.org> ---
Fix for comment #52

diff --git a/VEX/priv/host_riscv64_isel.c b/VEX/priv/host_riscv64_isel.c
index 76fc3fd5c..6921a47db 100644
--- a/VEX/priv/host_riscv64_isel.c
+++ b/VEX/priv/host_riscv64_isel.c
@@ -1161,6 +1161,10 @@ static HReg iselIntExpr_R_wrk(ISelEnv* env, IRExpr* e)
          vassert(ty == Ity_I8);
          u = vex_sx_to_64(e->Iex.Const.con->Ico.U8, 8);
          break;
+      case Ico_U1:
+         vassert(ty == Ity_I1);
+         u = e->Iex.Const.con->Ico.U1 ? 1 : 0;
+         break;
       default:
          goto irreducible;
       }

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to