diff options
author | Robert Lougher <rob.lougher@gmail.com> | 2016-12-14 17:49:19 +0000 |
---|---|---|
committer | Robert Lougher <rob.lougher@gmail.com> | 2016-12-14 17:49:19 +0000 |
commit | 2428a4050f066a51ff9dbd713aab0356ca435e7d (patch) | |
tree | a29dd267acda143a237f4f6bf41a5b25935af4bd /llvm/lib/Fuzzer/FuzzerTracePC.cpp | |
parent | 34a0f3dc2fcfec0ef5234407f0ea4cd473a6c166 (diff) | |
download | bcm5719-llvm-2428a4050f066a51ff9dbd713aab0356ca435e7d.tar.gz bcm5719-llvm-2428a4050f066a51ff9dbd713aab0356ca435e7d.zip |
[InstCombine] Merge debug locations when folding through a phi node
If all the operands to a phi node are of the same operation, instcombine
will try to pull them through the phi node, combining them into a single
operation. When it does this, the debug location of the operation should
be the merged debug locations of the phi node arguments.
Patch 2 of 8 for D26256. Folding of a binary operation.
Differential Revision: https://reviews.llvm.org/D26256
llvm-svn: 289679
Diffstat (limited to 'llvm/lib/Fuzzer/FuzzerTracePC.cpp')
0 files changed, 0 insertions, 0 deletions