commit | 2f597e6a3f1a67305103ed828598b202571aae84 | [log] [tgz] |
---|---|---|
author | Guozhi Wei <carrot@google.com> | Fri Sep 08 23:34:28 2017 +0000 |
committer | Guozhi Wei <carrot@google.com> | Fri Sep 08 23:34:28 2017 +0000 |
tree | 272a6909ce1e8bd26c019c0b3b84c4679ced23c5 | |
parent | f5858045aa0b89b28bc49965f238c077423b2ac7 [diff] |
[TargetTransformInfo] Remove the extra "default" in a switch that all enum values has been covered. In function TargetTransformInfo::getInstructionCost, all enum values in the switch statement has been covered, so the default is unnecessary, and may cause error with option -Werror,-Wcovered-switch-default, so remove it. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@312834 91177308-0d34-0410-b5e6-96231b3b80d8