diff options
author | Hal Finkel <hfinkel@anl.gov> | 2017-01-07 20:21:17 +0000 |
---|---|---|
committer | Hal Finkel <hfinkel@anl.gov> | 2017-01-07 20:21:17 +0000 |
commit | ec85fc5eac04171da9dd70dc6b391b02e87ee66c (patch) | |
tree | d85bd907003640ffcfd9d071a5b9423c0d59c683 /llvm/lib/Target/Sparc | |
parent | 0ba25a5cef4f39bc38bfd0dbd1f1111a5afa972e (diff) | |
download | bcm5719-llvm-ec85fc5eac04171da9dd70dc6b391b02e87ee66c.tar.gz bcm5719-llvm-ec85fc5eac04171da9dd70dc6b391b02e87ee66c.zip |
[llvm-opt-report] Fix context-sensitive lines where nothing happened
Don't print a line multiple times, each for different inlining contexts, if
nothing happened in any context. This prevents situations like this:
[[
> main:
65 | if ((i * ni + j) % 20 == 0) fprintf
> print_array:
65 | if ((i * ni + j) % 20 == 0) fprintf
]]
which could happen if different optimizations were missed in different inlining
contexts.
llvm-svn: 291361
Diffstat (limited to 'llvm/lib/Target/Sparc')
0 files changed, 0 insertions, 0 deletions