diff options
author | android-autoroll <android-autoroll@skia-public.iam.gserviceaccount.com> | 2022-04-19 17:29:20 +0000 |
---|---|---|
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | 2022-04-19 17:29:20 +0000 |
commit | 58f58db821f964d155363cc0cbb71b4c3de9b663 (patch) | |
tree | 8f422f05abb190080a6f5e55cca59029ef74b30c | |
parent | 2891978a5e5368f6b252b7be125cbc69b3dfafbe (diff) | |
parent | 5b17842abd241affbe59dfa938574c846034bf74 (diff) | |
download | swiftshader-58f58db821f964d155363cc0cbb71b4c3de9b663.tar.gz |
Roll SwiftShader from c0a055bfb780 to b5af7cabd5ea (1 revision) am: c78bb92737 am: 5b17842abd
Original change: https://android-review.googlesource.com/c/platform/external/swiftshader/+/2067868
Change-Id: I13a1f5b8df56b82c2281790294201c2b9eb6a693
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
-rw-r--r-- | third_party/llvm-10.0/llvm/include/llvm/CodeGen/LiveInterval.h | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/third_party/llvm-10.0/llvm/include/llvm/CodeGen/LiveInterval.h b/third_party/llvm-10.0/llvm/include/llvm/CodeGen/LiveInterval.h index fe5adb59d..85bd1a2af 100644 --- a/third_party/llvm-10.0/llvm/include/llvm/CodeGen/LiveInterval.h +++ b/third_party/llvm-10.0/llvm/include/llvm/CodeGen/LiveInterval.h @@ -625,11 +625,10 @@ namespace llvm { // if the Seg is lower find first segment that is above Idx using binary // search if (Seg->end <= *Idx) { - Seg = std::upper_bound(++Seg, EndSeg, *Idx, - [=](typename std::remove_reference<decltype(*Idx)>::type V, - const typename std::remove_reference<decltype(*Seg)>::type &S) { - return V < S.end; - }); + Seg = + std::upper_bound(++Seg, EndSeg, *Idx, [=](auto V, const auto &S) { + return V < S.end; + }); if (Seg == EndSeg) break; } |