aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/Reactor/LLVMReactor.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Reactor/LLVMReactor.cpp b/src/Reactor/LLVMReactor.cpp
index aa4aaaa49..36594d33c 100644
--- a/src/Reactor/LLVMReactor.cpp
+++ b/src/Reactor/LLVMReactor.cpp
@@ -813,14 +813,14 @@ Value *Nucleus::createShl(Value *lhs, Value *rhs)
{
RR_DEBUG_INFO_UPDATE_LOC();
auto *clamped_rhs = clampForShift(V(rhs));
- return V(jit->builder->CreateShl(V(lhs), clamped_rhs));
+ return V(jit->builder->CreateFreeze(jit->builder->CreateShl(V(lhs), clamped_rhs)));
}
Value *Nucleus::createLShr(Value *lhs, Value *rhs)
{
RR_DEBUG_INFO_UPDATE_LOC();
auto *clamped_rhs = clampForShift(V(rhs));
- return V(jit->builder->CreateLShr(V(lhs), clamped_rhs));
+ return V(jit->builder->CreateFreeze(jit->builder->CreateLShr(V(lhs), clamped_rhs)));
}
Value *Nucleus::createAShr(Value *lhs, Value *rhs)