aboutsummaryrefslogtreecommitdiff
path: root/clang/unittests/Tooling/Syntax/TreeTest.cpp
diff options
context:
space:
mode:
authorDjordje Todorovic <djordje.todorovic@syrmia.com>2020-03-27 09:11:48 +0100
committerDjordje Todorovic <djordje.todorovic@syrmia.com>2020-03-31 09:20:51 +0200
commitbcbd60aeb5fe20136fe79270ac1b8f3936883d78 (patch)
tree1f3f8459934890363fa1fddd32b418599a0318b6 /clang/unittests/Tooling/Syntax/TreeTest.cpp
parentd2d6c9f59197bd82ec5bc9c003840f244a70a347 (diff)
downloadllvm-bcbd60aeb5fe20136fe79270ac1b8f3936883d78.zip
llvm-bcbd60aeb5fe20136fe79270ac1b8f3936883d78.tar.gz
llvm-bcbd60aeb5fe20136fe79270ac1b8f3936883d78.tar.bz2
[Mips] Make MipsBranchExpansion aware of BBIT family of branch
Octeon branches (bbit0/bbit032/bbit1/bbit132) have an immediate operand, so it is legal to have such replacement within MipsBranchExpansion::replaceBranch(). According to the specification, a branch (e.g. bbit0 ) looks like: bbit0 rs p offset // p is an immediate operand if !rs<p> then branch Without this patch, an assertion triggers in the method, and the problem has been found in the real example. Differential Revision: https://reviews.llvm.org/D76842
Diffstat (limited to 'clang/unittests/Tooling/Syntax/TreeTest.cpp')
0 files changed, 0 insertions, 0 deletions