summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CodeGenFunction.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2010-10-06 04:55:48 +0000
committerChris Lattner <sabre@nondot.org>2010-10-06 04:55:48 +0000
commit28f034c21af118004b3f615a2d0244072bda01c4 (patch)
treeea854edb03c66e056f638960e4075198222aee45 /clang/lib/CodeGen/CodeGenFunction.cpp
parent805b74d6501e67bd4ef9fa4b13774b5be43cb26b (diff)
downloadbcm5719-llvm-28f034c21af118004b3f615a2d0244072bda01c4.tar.gz
bcm5719-llvm-28f034c21af118004b3f615a2d0244072bda01c4.zip
Generalize tblgen's dag parsing logic to handle arbitrary expressions
as the operator of the dag. Specifically, this allows parsing things like (F.x 4) in addition to just (a 4). Unfortunately, this runs afoul of an idiom being used by llvmc. It is using dags like (foo [1,2,3]) to represent a list of stuff being passed into foo. With this change, this is parsed as a [1,2,3] subscript on foo instead of being the first argument to the dag. Cope with this in the short term by requiring a "-llvmc-temp-hack" argument to tblgen to get the old parsing behavior. llvm-svn: 115742
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud