summaryrefslogtreecommitdiff
path: root/lib/CodeGen/MachineBlockPlacement.cpp
diff options
context:
space:
mode:
authorJim Grosbach <grosbach@apple.com>2011-12-06 23:43:54 +0000
committerJim Grosbach <grosbach@apple.com>2011-12-06 23:43:54 +0000
commita66512e59142f36ae653460891c058d5e78e07e3 (patch)
treeed54e25d590eb44242499be11d3bb4d54916573c /lib/CodeGen/MachineBlockPlacement.cpp
parentf8de54f37be57e5d27889bbfb26ecda602700566 (diff)
downloadllvm-a66512e59142f36ae653460891c058d5e78e07e3.tar.gz
llvm-a66512e59142f36ae653460891c058d5e78e07e3.tar.bz2
llvm-a66512e59142f36ae653460891c058d5e78e07e3.tar.xz
Extend AsmMatcher token literal matching to allow aliasing.
For example, ARM allows: vmov.u32 s4, #0 -> vmov.i32, #0 'u32' is a more specific designator for the 32-bit integer type specifier and is legal for any instruction which accepts 'i32' as a datatype suffix. We want to say, def : TokenAlias<".u32", ".i32">; This works by marking the match class of 'From' as a subclass of the match class of 'To'. rdar://10435076 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@145992 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/MachineBlockPlacement.cpp')
0 files changed, 0 insertions, 0 deletions