aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Object/MachOObjectFile.cpp
diff options
context:
space:
mode:
authorJosh Stone <jistone@redhat.com>2022-12-09 17:06:04 -0800
committerJosh Stone <jistone@redhat.com>2022-12-13 12:10:39 -0800
commit9b8fcd04ef64cbe124f30b8cb49633b785b840d7 (patch)
tree695c4d3076145ce44cd1af9f04b1cf5717edcadc /llvm/lib/Object/MachOObjectFile.cpp
parentd08e3ae271a9748af6c99be7e455730fb110b0a5 (diff)
downloadllvm-9b8fcd04ef64cbe124f30b8cb49633b785b840d7.zip
llvm-9b8fcd04ef64cbe124f30b8cb49633b785b840d7.tar.gz
llvm-9b8fcd04ef64cbe124f30b8cb49633b785b840d7.tar.bz2
[X86] Fix cmp order in probing BuildStackAlignAND
Due to reversed arguments, the loop start was almost always skipping the whole loop, since FinalStackProbed is probably less than StackPtr for large alignments. The intent was to skip the loop if the first sub on StackPtr made it less than FinalStackProbed already, so flip it. Reviewed By: serge-sans-paille Differential Revision: https://reviews.llvm.org/D139756
Diffstat (limited to 'llvm/lib/Object/MachOObjectFile.cpp')
0 files changed, 0 insertions, 0 deletions