summaryrefslogtreecommitdiffstats
path: root/llvm/lib/DebugInfo/Symbolize/SymbolizableObjectFile.h
diff options
context:
space:
mode:
authorAlexey Bataev <a.bataev@hotmail.com>2017-12-12 16:58:48 +0000
committerAlexey Bataev <a.bataev@hotmail.com>2017-12-12 16:58:48 +0000
commitd0c3aeb20045411d977fe0e7d052b299984abc04 (patch)
tree6f37346438bf6ceda2abd54188dcd93fab6e9a46 /llvm/lib/DebugInfo/Symbolize/SymbolizableObjectFile.h
parent3a58f6716c00534ae6c4d837e98c13a1d25a50b7 (diff)
downloadbcm5719-llvm-d0c3aeb20045411d977fe0e7d052b299984abc04.tar.gz
bcm5719-llvm-d0c3aeb20045411d977fe0e7d052b299984abc04.zip
[InstCombine] Fix PR35618: Instcombine hangs on single minmax load bitcast.
Summary: If we have pattern `store (load(bitcast(select (cmp(V1, V2), &V1, &V2)))), bitcast)`, but the load is used in other instructions, it leads to looping in InstCombiner. Patch adds additional check that all users of the load instructions are stores and then replaces all uses of load instruction by the new one with new type. Reviewers: RKSimon, spatel, majnemer Subscribers: llvm-commits Differential Revision: https://reviews.llvm.org/D41072 llvm-svn: 320496
Diffstat (limited to 'llvm/lib/DebugInfo/Symbolize/SymbolizableObjectFile.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud