Removing potentially error-prone fallthrough. NFC

This fallthrough if other cases are added between fabs and default
could cause fabs to fall to the next case resulting in a bug.
Better getting rid of it immediately just to be sure.

llvm-svn: 292003
This commit is contained in:
Marcello Maggioni 2017-01-14 07:28:47 +00:00
parent 67e94fb435
commit 0616b5ff5c
1 changed files with 1 additions and 0 deletions

View File

@ -4267,6 +4267,7 @@ static Value *SimplifyIntrinsic(Function *F, IterTy ArgBegin, IterTy ArgEnd,
case Intrinsic::fabs: {
if (SignBitMustBeZero(*ArgBegin, Q.TLI))
return *ArgBegin;
return nullptr;
}
default:
return nullptr;