aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Object/ObjectFile.cpp
diff options
context:
space:
mode:
authorChandler Carruth <chandlerc@gmail.com>2014-01-21 23:16:05 +0000
committerChandler Carruth <chandlerc@gmail.com>2014-01-21 23:16:05 +0000
commit4de315430c2643447fb77e3c6e36940ce4a75aca (patch)
treef3a9936639ce3487261b1d441dfa2347914fca39 /llvm/lib/Object/ObjectFile.cpp
parent692410efcb1330fc69aa75a042bea98c4eab80ba (diff)
downloadllvm-4de315430c2643447fb77e3c6e36940ce4a75aca.zip
llvm-4de315430c2643447fb77e3c6e36940ce4a75aca.tar.gz
llvm-4de315430c2643447fb77e3c6e36940ce4a75aca.tar.bz2
[SROA] Fix a bug which could cause the common type finding to return
inconsistent results for different orderings of alloca slices. The fundamental issue is that it is just always a mistake to return early from this function. There is no effective early exit to leverage. This patch stops trynig to do so and simplifies the code a bit as a consequence. Original diagnosis and patch by James Molloy with some name tweaks by me in part reflecting feedback from Duncan Smith on the mailing list. llvm-svn: 199771
Diffstat (limited to 'llvm/lib/Object/ObjectFile.cpp')
0 files changed, 0 insertions, 0 deletions