diff options
| author | Justin Bogner <mail@justinbogner.com> | 2016-08-17 05:10:15 +0000 |
|---|---|---|
| committer | Justin Bogner <mail@justinbogner.com> | 2016-08-17 05:10:15 +0000 |
| commit | b03fd12cef8ddbac2442e89486293880c6ccf90f (patch) | |
| tree | 26b1e88a177edc22e2c82ba41273a9124e36e888 /llvm/lib/Target/AArch64/AArch64InstrInfo.cpp | |
| parent | 0dace2d3a1135b4e9b44a23076f9565e7186e99b (diff) | |
| download | bcm5719-llvm-b03fd12cef8ddbac2442e89486293880c6ccf90f.tar.gz bcm5719-llvm-b03fd12cef8ddbac2442e89486293880c6ccf90f.zip | |
Replace "fallthrough" comments with LLVM_FALLTHROUGH
This is a mechanical change of comments in switches like fallthrough,
fall-through, or fall-thru to use the LLVM_FALLTHROUGH macro instead.
llvm-svn: 278902
Diffstat (limited to 'llvm/lib/Target/AArch64/AArch64InstrInfo.cpp')
| -rw-r--r-- | llvm/lib/Target/AArch64/AArch64InstrInfo.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/llvm/lib/Target/AArch64/AArch64InstrInfo.cpp b/llvm/lib/Target/AArch64/AArch64InstrInfo.cpp index 45b90a53387..e3afa8924e1 100644 --- a/llvm/lib/Target/AArch64/AArch64InstrInfo.cpp +++ b/llvm/lib/Target/AArch64/AArch64InstrInfo.cpp @@ -375,7 +375,8 @@ static unsigned canFoldIntoCSel(const MachineRegisterInfo &MRI, unsigned VReg, // if NZCV is used, do not fold. if (DefMI->findRegisterDefOperandIdx(AArch64::NZCV, true) == -1) return 0; - // fall-through to ADDXri and ADDWri. + // fall-through to ADDXri and ADDWri. + LLVM_FALLTHROUGH; case AArch64::ADDXri: case AArch64::ADDWri: // add x, 1 -> csinc. @@ -402,7 +403,8 @@ static unsigned canFoldIntoCSel(const MachineRegisterInfo &MRI, unsigned VReg, // if NZCV is used, do not fold. if (DefMI->findRegisterDefOperandIdx(AArch64::NZCV, true) == -1) return 0; - // fall-through to SUBXrr and SUBWrr. + // fall-through to SUBXrr and SUBWrr. + LLVM_FALLTHROUGH; case AArch64::SUBXrr: case AArch64::SUBWrr: { // neg x -> csneg, represented as sub dst, xzr, src. |

