diff options
author | Jingyue Wu <jingyue@google.com> | 2015-05-13 18:12:24 +0000 |
---|---|---|
committer | Jingyue Wu <jingyue@google.com> | 2015-05-13 18:12:24 +0000 |
commit | c74e33bffe89b8b85da45640b41418d2850f394d (patch) | |
tree | d39722abb8643d38a7e252cae0ef758273cafaac /llvm/lib/Target/Sparc/Disassembler/SparcDisassembler.cpp | |
parent | d43f0c5e82f9df971a32d46d529dca563674dfcc (diff) | |
download | llvm-c74e33bffe89b8b85da45640b41418d2850f394d.zip llvm-c74e33bffe89b8b85da45640b41418d2850f394d.tar.gz llvm-c74e33bffe89b8b85da45640b41418d2850f394d.tar.bz2 |
[NaryReassociate] avoid running forever
Avoid running forever by checking we are not reassociating an expression into
the same form.
Tested with @avoid_infinite_loops in nary-add.ll
llvm-svn: 237269
Diffstat (limited to 'llvm/lib/Target/Sparc/Disassembler/SparcDisassembler.cpp')
0 files changed, 0 insertions, 0 deletions