We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7a97754 commit f3b42adCopy full SHA for f3b42ad
bolt/lib/Target/AArch64/AArch64MCPlusBuilder.cpp
@@ -548,10 +548,15 @@ class AArch64MCPlusBuilder : public MCPlusBuilder {
548
}
549
550
bool isBRA(const MCInst &Inst) const {
551
- return (Inst.getOpcode() == AArch64::BRAA ||
552
- Inst.getOpcode() == AArch64::BRAB ||
553
- Inst.getOpcode() == AArch64::BRAAZ ||
554
- Inst.getOpcode() == AArch64::BRABZ);
+ switch (Inst.getOpcode()) {
+ case AArch64::BRAA:
+ case AArch64::BRAB:
+ case AArch64::BRAAZ:
555
+ case AArch64::BRABZ:
556
+ return true;
557
+ default:
558
+ return false;
559
+ }
560
561
562
bool mayLoad(const MCInst &Inst) const override {
0 commit comments