commit | 532f5a9d64212ae9dbaa19f25b223ecb4ed680ba | [log] [tgz] |
---|---|---|
author | Bob Wilson <bob.wilson@apple.com> | Mon Mar 04 22:37:43 2013 +0000 |
committer | Bob Wilson <bob.wilson@apple.com> | Mon Mar 04 22:37:43 2013 +0000 |
tree | 6c5e38b945cbd006b1f953c45a321485fa0b8f81 | |
parent | d2ab6d371e2bb93ced857041b9173ad50bbcbfcd [diff] |
Fix confused use of llvm::StringSwitch for armv7r architecture. svn 170909 added support for cortex-r5 but in this case it was done incorrectly. The last argument to StringSwitch.Cases() is the replacement value, so by adding "cortex-r5" it changed the default cpu for armv7r to cortex-r5 instead of cortex-r4. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@176456 91177308-0d34-0410-b5e6-96231b3b80d8