aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorandroid-autoroll <android-autoroll@skia-public.iam.gserviceaccount.com>2024-01-10 18:24:42 +0000
committerandroid-autoroll <android-autoroll@skia-public.iam.gserviceaccount.com>2024-01-10 18:24:42 +0000
commit9bacbeebf76e5111c82f15fa5c6c876a89ef1453 (patch)
tree741dade0dbfc9018dcea22999b87071f75235aaf
parentd05e995900a75c4292ac74144de543d590343307 (diff)
parentf4819d2276b777e8d6dfb32b34c1130e7945f9b8 (diff)
downloadswiftshader-9bacbeebf76e5111c82f15fa5c6c876a89ef1453.tar.gz
Roll SwiftShader from 2fa7e9b99ae4 to f4819d2276b7 (1 revision)
https://swiftshader.googlesource.com/SwiftShader.git/+log/2fa7e9b99ae4..f4819d2276b7 Please enable autosubmit on changes if possible when approving them. If this roll has caused a breakage, revert this CL and stop the roller using the controls here: https://autoroll.skia.org/r/swiftshader-android Please CC natsu@google.com,nicolascapens@google.com,swiftshader-eng@google.com on the revert to ensure that a human is aware of the problem. To file a bug in SwiftShader: https://bugs.chromium.org/p/swiftshader/issues/entry To report a problem with the AutoRoller itself, please file a bug: https://issues.skia.org/issues/new?component=1389291&template=1850622 Documentation for the AutoRoller is here: https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md Test: Presubmit checks will test this change. Exempt-From-Owner-Approval: The autoroll bot does not require owner approval. Bug: b/319166502 Change-Id: I625aa214e63276623d51b47903ea72358cfa41de
-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)