diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2013-04-30 16:53:38 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2013-04-30 16:53:38 +0000 |
commit | dd27530a44a763ff44a86f4a7175ce70427dbdc1 (patch) | |
tree | cdfda887a63b192e79fe9b6eb50ab421655f9126 /llvm/lib/CodeGen/LocalStackSlotAllocation.cpp | |
parent | 52501033d0935fd221c7278ccee478192a435d8d (diff) | |
download | llvm-dd27530a44a763ff44a86f4a7175ce70427dbdc1.zip llvm-dd27530a44a763ff44a86f4a7175ce70427dbdc1.tar.gz llvm-dd27530a44a763ff44a86f4a7175ce70427dbdc1.tar.bz2 |
Change getSlotIndex to return unsigned.
The actual storage was already using unsigned, but the interface was using
uint64_t. This is wasteful on 32 bits and looks to be the root causes of
a miscompilation on Windows where a value was being sign extended to 64bits
to compare with the result of getSlotIndex.
Patch by Pasi Parviainen!
llvm-svn: 180791
Diffstat (limited to 'llvm/lib/CodeGen/LocalStackSlotAllocation.cpp')
0 files changed, 0 insertions, 0 deletions