Go to file
Tim Northover 5896b066e6 TableGen: fix operand counting for aliases
TableGen has a fairly dubious heuristic to decide whether an alias should be
printed: does the alias have lest operands than the real instruction. This is
bad enough (particularly with no way to override it), but it should at least be
calculated consistently for both strings.

This patch implements that logic: first get the *correct* string for the
variant, in the same way as the Matcher, without guessing; then count the
number of whitespace chars.

There are basically 4 changes this brings about after the previous
commits; all of these appear to be good, so I have changed the tests:

+ ARM64: we print "neg X, Y" instead of "sub X, xzr, Y".
+ ARM64: we skip implicit "uxtx" and "uxtw" modifiers.
+ Sparc: we print "mov A, B" instead of "or %g0, A, B".
+ Sparc: we print "fcmpX A, B" instead of "fcmpX %fcc0, A, B"

llvm-svn: 208969
2014-05-16 09:42:04 +00:00
clang Improve a scan-build message 2014-05-16 07:03:15 +00:00
clang-tools-extra Initial version of clang-tidy check to use override instead of virual. 2014-05-16 09:30:09 +00:00
compiler-rt clang-format assembly.h 2014-05-16 06:16:21 +00:00
debuginfo-tests relax testcase for LLDB output format compatibility. 2014-03-19 23:06:18 +00:00
libclc Fix build broken by LLVM commit r207593 2014-04-30 18:35:20 +00:00
libcxx Update cstddef after clang r207606. 2014-05-16 01:45:02 +00:00
libcxxabi Fix typo in comment. 2014-05-14 17:16:57 +00:00
lld [mach-o] Add support for zero-fill sections. 2014-05-15 23:03:50 +00:00
lldb Added gdbremote tests to verify kill and continue after attach. 2014-05-14 19:34:06 +00:00
llvm TableGen: fix operand counting for aliases 2014-05-16 09:42:04 +00:00
openmp Add testsuite from OpenUH 2014-05-10 17:02:09 +00:00
polly Do not run GPGPU test cases without nvptx target 2014-05-14 14:18:14 +00:00