summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2002-08-22 23:37:24 +0000
committerChris Lattner <sabre@nondot.org>2002-08-22 23:37:24 +0000
commit02fe752fbdec8dfe1f2b4968d234402426ddca5e (patch)
tree89f86ad25b6ff65200ec2a1eb452df694ba8334a /llvm/lib/Transforms
parentdfb3a2cd07da96e9052ddd27bfef0d39b4587682 (diff)
downloadbcm5719-llvm-02fe752fbdec8dfe1f2b4968d234402426ddca5e.tar.gz
bcm5719-llvm-02fe752fbdec8dfe1f2b4968d234402426ddca5e.zip
Eliminated the MemAccessInst class, folding contents into GEP class.
llvm-svn: 3488
Diffstat (limited to 'llvm/lib/Transforms')
-rw-r--r--llvm/lib/Transforms/IPO/MutateStructTypes.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/llvm/lib/Transforms/IPO/MutateStructTypes.cpp b/llvm/lib/Transforms/IPO/MutateStructTypes.cpp
index 2059f9f2a90..e5bad67f5ea 100644
--- a/llvm/lib/Transforms/IPO/MutateStructTypes.cpp
+++ b/llvm/lib/Transforms/IPO/MutateStructTypes.cpp
@@ -413,15 +413,9 @@ void MutateStructTypes::transformFunction(Function *m) {
break;
case Instruction::Load:
- assert(cast<MemAccessInst>(I).idx_begin() ==
- cast<MemAccessInst>(I).idx_end() &&
- "Indexing loads not supported!");
NewI = new LoadInst(ConvertValue(I.getOperand(0)));
break;
case Instruction::Store:
- assert(cast<MemAccessInst>(I).idx_begin() ==
- cast<MemAccessInst>(I).idx_end() &&
- "Indexing loads not supported!");
NewI = new StoreInst(ConvertValue(I.getOperand(0)),
ConvertValue(I.getOperand(1)));
break;
OpenPOWER on IntegriCloud