Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(821)

Unified Diff: tools/opt/opt.cpp

Issue 14607004: Insert denominator zero checks for NaCl (Closed) Base URL: http://git.chromium.org/native_client/pnacl-llvm.git@master
Patch Set: Add more complex control flow test. Created 7 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « test/NaCl/ARM/divrem-guards-complex.ll ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/opt/opt.cpp
diff --git a/tools/opt/opt.cpp b/tools/opt/opt.cpp
index 26a5e4a3c171bd60d9c460540153f4945b0226a5..6932cb8b0ff44c344cd0792c2804d953e8598646 100644
--- a/tools/opt/opt.cpp
+++ b/tools/opt/opt.cpp
@@ -586,6 +586,7 @@ int main(int argc, char **argv) {
initializeExpandVarArgsPass(Registry);
initializeFlattenGlobalsPass(Registry);
initializeGlobalCleanupPass(Registry);
+ initializeInsertDivideCheckPass(Registry);
initializePNaClABIVerifyFunctionsPass(Registry);
initializePNaClABIVerifyModulePass(Registry);
initializeResolveAliasesPass(Registry);
« no previous file with comments | « test/NaCl/ARM/divrem-guards-complex.ll ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698