summaryrefslogtreecommitdiffstats
path: root/llvm/tools/llvmc/plugins
diff options
context:
space:
mode:
authorMikhail Glushenkov <foldr@codedgers.com>2010-01-01 03:50:51 +0000
committerMikhail Glushenkov <foldr@codedgers.com>2010-01-01 03:50:51 +0000
commit8711c8dbcf6a5592d40337c3733dbddddca4a8b8 (patch)
tree2c4ed049471b470a27a9065d4e06fb0c41279d39 /llvm/tools/llvmc/plugins
parent554c0547773777a9160a350e2b4ab60dade0feb8 (diff)
downloadbcm5719-llvm-8711c8dbcf6a5592d40337c3733dbddddca4a8b8.tar.gz
bcm5719-llvm-8711c8dbcf6a5592d40337c3733dbddddca4a8b8.zip
Minor simplifications.
llvm-svn: 92390
Diffstat (limited to 'llvm/tools/llvmc/plugins')
-rw-r--r--llvm/tools/llvmc/plugins/Base/Base.td.in3
1 files changed, 1 insertions, 2 deletions
diff --git a/llvm/tools/llvmc/plugins/Base/Base.td.in b/llvm/tools/llvmc/plugins/Base/Base.td.in
index 1413593bdfe..72623721cdb 100644
--- a/llvm/tools/llvmc/plugins/Base/Base.td.in
+++ b/llvm/tools/llvmc/plugins/Base/Base.td.in
@@ -97,11 +97,10 @@ def Preprocess : OptionPreprocessor<
(unset_option ["O0", "O1", "O2"]),
(and (switch_on "O2"), (any_switch_on ["O0", "O1"])),
(unset_option ["O0", "O1"]),
- (and (switch_on "O1"), (switch_on "O0")),
+ (switch_on ["O1", "O0"]),
(unset_option "O0"))
>;
-
// Tools
class llvm_gcc_based <string cmd_prefix, string in_lang, string E_ext> : Tool<
OpenPOWER on IntegriCloud