diff options
author | Martin Nowack <martin.nowack@gmail.com> | 2018-05-08 11:27:00 +0100 |
---|---|---|
committer | Cristian Cadar <c.cadar@imperial.ac.uk> | 2018-05-09 10:44:27 +0100 |
commit | 8affd4a2dfbb08d820387f8e28f95a3a7276b710 (patch) | |
tree | 959953ca65b243e033be394e6f5f8285bd32c303 /lib/Module/KModule.cpp | |
parent | bf287fa76dc82b4fc6cf2fae2cbe8e6134ee2479 (diff) | |
download | klee-8affd4a2dfbb08d820387f8e28f95a3a7276b710.tar.gz |
Remove workaround for bug in older LLVM version (< 3)
Diffstat (limited to 'lib/Module/KModule.cpp')
-rw-r--r-- | lib/Module/KModule.cpp | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/lib/Module/KModule.cpp b/lib/Module/KModule.cpp index 032929e8..0f0d8fed 100644 --- a/lib/Module/KModule.cpp +++ b/lib/Module/KModule.cpp @@ -215,11 +215,8 @@ void KModule::prepare(const Interpreter::ModuleOptions &opts, pm.add(createScalarizerPass()); if (opts.CheckDivZero) pm.add(new DivCheckPass()); if (opts.CheckOvershift) pm.add(new OvershiftCheckPass()); - // FIXME: This false here is to work around a bug in - // IntrinsicLowering which caches values which may eventually be - // deleted (via RAUW). This can be removed once LLVM fixes this - // issue. - pm.add(new IntrinsicCleanerPass(*targetData, false)); + + pm.add(new IntrinsicCleanerPass(*targetData)); pm.run(*module); if (opts.Optimize) |