aboutsummaryrefslogtreecommitdiffstats
path: root/utils
diff options
context:
space:
mode:
authorBob Wilson <bob.wilson@apple.com>2010-06-24 22:21:19 +0000
committerBob Wilson <bob.wilson@apple.com>2010-06-24 22:21:19 +0000
commite9c2615b762ca3b6d2d80fc983a62e6a38223e0d (patch)
tree4b6d5c224a517a99e064f587cf22666aa5d877a3 /utils
parentf14e9569ffec16d19aa31e6bbc7ca2085fc9ae96 (diff)
downloadexternal_llvm-e9c2615b762ca3b6d2d80fc983a62e6a38223e0d.zip
external_llvm-e9c2615b762ca3b6d2d80fc983a62e6a38223e0d.tar.gz
external_llvm-e9c2615b762ca3b6d2d80fc983a62e6a38223e0d.tar.bz2
Change array references to match my previous change to use the public type
names for the array fields. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@106803 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils')
-rw-r--r--utils/TableGen/NeonEmitter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/TableGen/NeonEmitter.cpp b/utils/TableGen/NeonEmitter.cpp
index 5e61131..3516d31 100644
--- a/utils/TableGen/NeonEmitter.cpp
+++ b/utils/TableGen/NeonEmitter.cpp
@@ -804,7 +804,7 @@ static std::string GenBuiltin(const std::string &name, const std::string &proto,
// argument to the __builtin.
if (structTypes && (proto[i] == '2' || proto[i] == '3' || proto[i] == '4')){
for (unsigned vi = 0, ve = proto[i] - '0'; vi != ve; ++vi) {
- s += args + ".val[" + utostr(vi) + "]";
+ s += args + ".val[" + utostr(vi) + "].val";
if ((vi + 1) < ve)
s += ", ";
}