diff options
author | Chris Lattner <sabre@nondot.org> | 2009-10-27 05:39:41 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2009-10-27 05:39:41 +0000 |
commit | c6b3b25f940ac4abe376f98e15d10c4e4e583e55 (patch) | |
tree | f0aee80d479de05167dad3fd300c4f2034efe74e /llvm/test/CodeGen/ARM/call.ll | |
parent | 58ee24c8bfbcd8a77fc7787b3bfc715cae9e3516 (diff) | |
download | bcm5719-llvm-c6b3b25f940ac4abe376f98e15d10c4e4e583e55.tar.gz bcm5719-llvm-c6b3b25f940ac4abe376f98e15d10c4e4e583e55.zip |
Fix a pretty serious misfeature of the inliner: if it inlines a function
with multiple return values it inserts a PHI to merge them all together.
However, if the return values are all the same, it ends up with a pointless
PHI and this pointless PHI happens to really block SRoA from happening in
at least a silly C++ example written by Doug, but probably others. This
fixes rdar://7339069.
llvm-svn: 85206
Diffstat (limited to 'llvm/test/CodeGen/ARM/call.ll')
0 files changed, 0 insertions, 0 deletions