Skip to content

Commit e82ab6b

Browse files
author
Matt Beaumont-Gay
committed
Pacify GCC's -Wreturn-type
llvm-svn: 156189
1 parent b721b68 commit e82ab6b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

llvm/lib/Target/ARM/ARMISelLowering.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2175,6 +2175,7 @@ ARMTargetLowering::LowerGlobalTLSAddress(SDValue Op, SelectionDAG &DAG) const {
21752175
case TLSModel::LocalExec:
21762176
return LowerToTLSExecModels(GA, DAG, model);
21772177
}
2178+
llvm_unreachable("bogus TLS model");
21782179
}
21792180

21802181
SDValue ARMTargetLowering::LowerGlobalAddressELF(SDValue Op,

0 commit comments

Comments
 (0)