llvm-6502/utils
Tim Northover a9a94ce839 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"

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@208969 91177308-0d34-0410-b5e6-96231b3b80d8
2014-05-16 09:42:04 +00:00
..
bugpoint
buildit ARM64: initial backend import 2014-03-29 10:18:08 +00:00
count
crosstool
emacs
FileCheck When a CHECK-NEXT fails because there was no match on the next line, include 2014-04-07 17:09:53 +00:00
FileUpdate raw_ostream: Forward declare OpenFlags and include FileSystem.h only where necessary. 2014-04-29 23:26:49 +00:00
fpcmp
git
git-svn
jedit
kate Remove the linker_private and linker_private_weak linkages. 2014-03-13 23:18:37 +00:00
KillTheDoctor
lint
lit Fix test syntax to work with non-bash /bin/sh. 2014-04-12 21:13:41 +00:00
llvm-build llvm-build: Get rid of 'import *' 2014-04-23 19:17:42 +00:00
llvm-lit lit: Set a base directory for compiler-rt tests 2014-03-31 23:14:10 +00:00
Misc
not [CMake] LLVMSupport should be responsible to provide system_libs. 2014-02-10 10:52:19 +00:00
PerfectShuffle [CMake] Add build rules for llvm-PerfectShuffle utility 2014-05-07 16:54:00 +00:00
release Display the name of the project failing the url check in the release script 2014-04-14 12:36:48 +00:00
TableGen TableGen: fix operand counting for aliases 2014-05-16 09:42:04 +00:00
Target/ARM
testgen
textmate
unittest Reverted r203879. 2014-03-14 01:56:55 +00:00
valgrind
vim Remove the linker_private and linker_private_weak linkages. 2014-03-13 23:18:37 +00:00
yaml-bench Fix typo 2014-04-05 20:28:13 +00:00
check-each-file
clang-parse-diagnostics-file
codegen-diff
countloc.sh
DSAclean.py
DSAextract.py
findmisopt
findoptdiff
findsym.pl
GenLibDeps.pl
GetRepositoryPath
GetSourceVersion
getsrcs.sh
lldbDataFormatters.py
llvm-compilers-check
llvm-native-gxx
llvm.grm Remove the linker_private and linker_private_weak linkages. 2014-03-13 23:18:37 +00:00
llvm.natvis Adding support for MSVC debugger visualization of the Optional datatype. 2014-03-03 21:15:07 +00:00
LLVMBuild.txt
llvmdo
llvmgrep
Makefile
makellvm
sort_includes.py
test_debuginfo.pl test_debuginfo.pl: Make failures easier to debug by printing the debugger 2014-02-20 19:55:44 +00:00
UpdateCMakeLists.pl
wciia.py