diff options
| author | Eric Christopher <echristo@gmail.com> | 2016-03-12 01:47:22 +0000 |
|---|---|---|
| committer | Eric Christopher <echristo@gmail.com> | 2016-03-12 01:47:22 +0000 |
| commit | 35abd051c06c8b8fe97bff497da9a1ed380b5d38 (patch) | |
| tree | c4a184bec8dc19e24277f6ebbea8e69f9fc4437a /llvm/unittests/IR | |
| parent | 02e3dd4b2e01aeb44b4ea9d083f1c9fbeb646f86 (diff) | |
| download | bcm5719-llvm-35abd051c06c8b8fe97bff497da9a1ed380b5d38.tar.gz bcm5719-llvm-35abd051c06c8b8fe97bff497da9a1ed380b5d38.zip | |
Temporarily revert:
commit ae14bf6488e8441f0f6d74f00455555f6f3943ac
Author: Mehdi Amini <mehdi.amini@apple.com>
Date: Fri Mar 11 17:15:50 2016 +0000
Remove PreserveNames template parameter from IRBuilder
Summary:
Following r263086, we are now relying on a flag on the Context to
discard Value names in release builds.
Reviewers: chandlerc
Subscribers: mzolotukhin, llvm-commits
Differential Revision: http://reviews.llvm.org/D18023
From: Mehdi Amini <mehdi.amini@apple.com>
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@263258
91177308-0d34-0410-b5e6-96231b3b80d8
until we can figure out what to do about clang and Release build testing.
This reverts commit 263258.
llvm-svn: 263321
Diffstat (limited to 'llvm/unittests/IR')
| -rw-r--r-- | llvm/unittests/IR/IRBuilderTest.cpp | 2 | ||||
| -rw-r--r-- | llvm/unittests/IR/PatternMatch.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/llvm/unittests/IR/IRBuilderTest.cpp b/llvm/unittests/IR/IRBuilderTest.cpp index 5cac3fa90c3..bd0eae0399a 100644 --- a/llvm/unittests/IR/IRBuilderTest.cpp +++ b/llvm/unittests/IR/IRBuilderTest.cpp @@ -252,7 +252,7 @@ TEST_F(IRBuilderTest, FastMathFlags) { } TEST_F(IRBuilderTest, WrapFlags) { - IRBuilder<NoFolder> Builder(BB); + IRBuilder<true, NoFolder> Builder(BB); // Test instructions. GlobalVariable *G = new GlobalVariable(*M, Builder.getInt32Ty(), true, diff --git a/llvm/unittests/IR/PatternMatch.cpp b/llvm/unittests/IR/PatternMatch.cpp index 1121d6554db..f3a27b8d250 100644 --- a/llvm/unittests/IR/PatternMatch.cpp +++ b/llvm/unittests/IR/PatternMatch.cpp @@ -35,7 +35,7 @@ struct PatternMatchTest : ::testing::Test { std::unique_ptr<Module> M; Function *F; BasicBlock *BB; - IRBuilder<NoFolder> IRB; + IRBuilder<true, NoFolder> IRB; PatternMatchTest() : M(new Module("PatternMatchTestModule", Ctx)), |

