summaryrefslogtreecommitdiffstats
path: root/llvm/examples/Kaleidoscope/Chapter7/toy.cpp
diff options
context:
space:
mode:
authorChandler Carruth <chandlerc@gmail.com>2016-03-11 12:10:15 +0000
committerChandler Carruth <chandlerc@gmail.com>2016-03-11 12:10:15 +0000
commitec5872bc4276fbf779af0bde6aeb7d6489850c8f (patch)
tree78e05e1f3e5a98f8ce050994ee9f3cb3ff2df46c /llvm/examples/Kaleidoscope/Chapter7/toy.cpp
parent67d72c02bcb6f67201c81a15371d7f7a7b25623f (diff)
downloadbcm5719-llvm-ec5872bc4276fbf779af0bde6aeb7d6489850c8f.tar.gz
bcm5719-llvm-ec5872bc4276fbf779af0bde6aeb7d6489850c8f.zip
[PM] Update Kaleidoscope with the new header file.
llvm-svn: 263223
Diffstat (limited to 'llvm/examples/Kaleidoscope/Chapter7/toy.cpp')
-rw-r--r--llvm/examples/Kaleidoscope/Chapter7/toy.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/examples/Kaleidoscope/Chapter7/toy.cpp b/llvm/examples/Kaleidoscope/Chapter7/toy.cpp
index 5c0094013d9..6c208792756 100644
--- a/llvm/examples/Kaleidoscope/Chapter7/toy.cpp
+++ b/llvm/examples/Kaleidoscope/Chapter7/toy.cpp
@@ -7,6 +7,7 @@
#include "llvm/IR/Verifier.h"
#include "llvm/Support/TargetSelect.h"
#include "llvm/Transforms/Scalar.h"
+#include "llvm/Transforms/Scalar/GVN.h"
#include <cctype>
#include <cstdio>
#include <map>
OpenPOWER on IntegriCloud