summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
diff options
context:
space:
mode:
authorBenjamin Kramer <benny.kra@googlemail.com>2014-04-25 20:41:38 +0000
committerBenjamin Kramer <benny.kra@googlemail.com>2014-04-25 20:41:38 +0000
commit1adc8c339184d09a40d770524a19734a213807ba (patch)
treeb6ea76ccbb85e82dc7d07797781dc9c3fe2e9f0e /llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
parent0651d7650afe49e73d4533064aa5b6d2a85041c9 (diff)
downloadbcm5719-llvm-1adc8c339184d09a40d770524a19734a213807ba.tar.gz
bcm5719-llvm-1adc8c339184d09a40d770524a19734a213807ba.zip
Print detailed vector type information on diagnostics.
We never aka vector types because our attributed syntax for it is less comprehensible than the typedefs. This leaves the user in the dark when the typedef isn't named that well. Example: v2s v; v4f w; w = v; The naming in this cases isn't even that bad, but the error we give is useless without looking up the actual typedefs. t.c:6:5: error: assigning to 'v4f' from incompatible type 'v2s' Now: t.c:6:5: error: assigning to 'v4f' (vector of 4 'float' values) from incompatible type 'v2s' (vector of 2 'int' values) We do this for all diagnostics that print a vector type. llvm-svn: 207267
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud