[llvm-commits] CVS: llvm/tools/opt/opt.cpp
Chris Lattner
lattner at cs.uiuc.edu
Thu Apr 24 13:37:15 PDT 2003
Changes in directory llvm/tools/opt:
opt.cpp updated: 1.79 -> 1.80
---
Log message:
Remove support for "target data" pass ctors
---
Diffs of the changes:
Index: llvm/tools/opt/opt.cpp
diff -u llvm/tools/opt/opt.cpp:1.79 llvm/tools/opt/opt.cpp:1.80
--- llvm/tools/opt/opt.cpp:1.79 Wed Apr 16 18:02:16 2003
+++ llvm/tools/opt/opt.cpp Thu Apr 24 13:36:41 2003
@@ -68,9 +68,6 @@
cl::ParseCommandLineOptions(argc, argv,
" llvm .bc -> .bc modular optimizer\n");
- // FIXME: The choice of target should be controllable on the command line.
- TargetData TD("opt target");
-
// Allocate a full target machine description only if necessary...
// FIXME: The choice of target should be controllable on the command line.
std::auto_ptr<TargetMachine> target;
@@ -122,8 +119,6 @@
if (Opt->getNormalCtor())
Passes.add(Opt->getNormalCtor()());
- else if (Opt->getDataCtor())
- Passes.add(Opt->getDataCtor()(TD)); // Provide dummy target data...
else if (Opt->getTargetCtor()) {
#if 0
if (target.get() == NULL)
More information about the llvm-commits
mailing list