aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/LocalStackSlotAllocation.cpp
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2013-04-30 16:53:38 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2013-04-30 16:53:38 +0000
commitdd27530a44a763ff44a86f4a7175ce70427dbdc1 (patch)
treecdfda887a63b192e79fe9b6eb50ab421655f9126 /llvm/lib/CodeGen/LocalStackSlotAllocation.cpp
parent52501033d0935fd221c7278ccee478192a435d8d (diff)
downloadllvm-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