Go to file
Justin Bogner 4a57bb5a3b PrologEpilogInserter: Avoid an infinite loop when MinCSFrameIndex == 0
Before r269750 we did the comparisons in this loop in signed ints so
that it DTRT when MinCSFrameIndex was 0. This was changed because it's
now possible for MinCSFrameIndex to be UINT_MAX, but that introduced a
bug when we were comparing `>= 0` - this is tautological in unsigned.

Rework the comparisons here to avoid issues with unsigned wrapping.

No test. I couldn't find a way to get any of the StackGrowsUp in-tree
targets to reach the code that sets MinCSFrameIndex.

llvm-svn: 270492
2016-05-23 21:40:52 +00:00
clang [CUDA] Add -fcuda-approx-transcendentals flag. 2016-05-23 20:19:56 +00:00
clang-tools-extra Commiting for http://reviews.llvm.org/D20365 2016-05-23 18:27:05 +00:00
compiler-rt [profile] clean up runtime warnings. 2016-05-23 20:08:58 +00:00
debuginfo-tests
libclc math: Use single precision fmax in sp path 2016-05-17 19:44:01 +00:00
libcxx Reorganize locale extension fallbacks. NFCI 2016-05-20 12:58:41 +00:00
libcxxabi libc++abi: make __cxa_call_unexpected visible 2016-05-11 23:56:37 +00:00
libunwind unwind: remove last instance of -Wexpansion-to-defined 2016-04-26 01:11:29 +00:00
lld Remove dead code. 2016-05-23 18:08:27 +00:00
lldb xfail TestRedefinitionsInline on Windows. 2016-05-23 21:22:11 +00:00
llgo [llgo] llgoi: separate evaluation from printing 2016-04-25 01:18:20 +00:00
llvm PrologEpilogInserter: Avoid an infinite loop when MinCSFrameIndex == 0 2016-05-23 21:40:52 +00:00
openmp Fork performance improvements 2016-05-23 18:01:19 +00:00
polly [ScopInfo] Remove unused typedef OutgoingValueMapTy. NFC. 2016-05-23 14:51:52 +00:00