aboutsummaryrefslogtreecommitdiff
path: root/clang/test/CodeGen/fixup-depth-overflow.c
diff options
context:
space:
mode:
authorChandler Carruth <chandlerc@gmail.com>2016-12-23 00:23:01 +0000
committerChandler Carruth <chandlerc@gmail.com>2016-12-23 00:23:01 +0000
commit93786da2cb5f6d882ffec88278e4143f22f0a70c (patch)
tree452304c9aee9441c9cfbe454c4e59b88ca77bdc2 /clang/test/CodeGen/fixup-depth-overflow.c
parentf367a2a52b07f2b25e83c4b6890efdb8bf946093 (diff)
downloadllvm-93786da2cb5f6d882ffec88278e4143f22f0a70c.zip
llvm-93786da2cb5f6d882ffec88278e4143f22f0a70c.tar.gz
llvm-93786da2cb5f6d882ffec88278e4143f22f0a70c.tar.bz2
Make '-disable-llvm-optzns' an alias for '-disable-llvm-passes'.
Much to my surprise, '-disable-llvm-optzns' which I thought was the magical flag I wanted to get at the raw LLVM IR coming out of Clang deosn't do that. It still runs some passes over the IR. I don't want that, I really want the *raw* IR coming out of Clang and I strongly suspect everyone else using it is in the same camp. There is actually a flag that does what I want that I didn't know about called '-disable-llvm-passes'. I suspect many others don't know about it either. It both does what I want and is much simpler. This removes the confusing version and makes that spelling of the flag an alias for '-disable-llvm-passes'. I've also moved everything in Clang to use the 'passes' spelling as it seems both more accurate (*all* LLVM passes are disabled, not just optimizations) and much easier to remember and spell correctly. This is part of simplifying how Clang drives LLVM to make it cleaner to wire up to the new pass manager. Differential Revision: https://reviews.llvm.org/D28047 llvm-svn: 290392
Diffstat (limited to 'clang/test/CodeGen/fixup-depth-overflow.c')
-rw-r--r--clang/test/CodeGen/fixup-depth-overflow.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/CodeGen/fixup-depth-overflow.c b/clang/test/CodeGen/fixup-depth-overflow.c
index be8f542..af452d0 100644
--- a/clang/test/CodeGen/fixup-depth-overflow.c
+++ b/clang/test/CodeGen/fixup-depth-overflow.c
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -O1 -disable-llvm-optzns -emit-llvm -o - %s | FileCheck %s
+// RUN: %clang_cc1 -O1 -disable-llvm-passes -emit-llvm -o - %s | FileCheck %s
#define M if (x) goto L1;
#define M10 M M M M M M M M M M