diff options
| author | Tim Northover <tnorthover@apple.com> | 2016-03-22 19:14:38 +0000 |
|---|---|---|
| committer | Tim Northover <tnorthover@apple.com> | 2016-03-22 19:14:38 +0000 |
| commit | b49a8a9dbbf7cf86293577e08746c219bb7d0de2 (patch) | |
| tree | 7a59e825bc248a0a88687d73507a045b98ce2fca /llvm/test/Transforms/LoopVectorize/bsd_regex.ll | |
| parent | bfecef5e1b474078c23b86eb5beb5d4c271cb7c9 (diff) | |
| download | bcm5719-llvm-b49a8a9dbbf7cf86293577e08746c219bb7d0de2.tar.gz bcm5719-llvm-b49a8a9dbbf7cf86293577e08746c219bb7d0de2.zip | |
CodeGen: check return types match when emitting tail call to builtin.
We were just completely ignoring the types when determining whether we could
safely emit a libcall as a tail call. This is clearly wrong.
Theoretically, we could dig deeper looking for incidental matches (much like
the generic code in Analysis.cpp does), but it's probably not worth it for the
few libcalls that exist.
llvm-svn: 264084
Diffstat (limited to 'llvm/test/Transforms/LoopVectorize/bsd_regex.ll')
0 files changed, 0 insertions, 0 deletions

