]> granicus.if.org Git - llvm/commit
[ConstantFolding][X86] Replace an LLVM_FALLTHROUGH with a break because it really...
authorCraig Topper <craig.topper@gmail.com>
Sun, 4 Jun 2017 08:21:51 +0000 (08:21 +0000)
committerCraig Topper <craig.topper@gmail.com>
Sun, 4 Jun 2017 08:21:51 +0000 (08:21 +0000)
commit54bf603f7c403759592dc61ed2287b09c62c9a37
tree620e754d7957ea17f23ccc6c1be03c1e7a79825b
parentd381818c9458eb6ed623d0bb62b090246b10d7b8
[ConstantFolding][X86] Replace an LLVM_FALLTHROUGH with a break because it really shouldn't fallthrough.

This is actually NFC because the next case starts with the same if statement as this case did. So the result will be the same and it will fallthrough to the end of the switch. But there's no reason to rely on that so we should just break.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@304680 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Analysis/ConstantFolding.cpp