summaryrefslogtreecommitdiffstats
path: root/llvm/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
commitba39592cee4472bcd8b837f47c876233e5b8b558 (patch)
tree1a94c2a92426510964a514289d061f355628ca1f /llvm/lib/CodeGen/MachineBlockPlacement.cpp
parentd64c99b07fcf768fd4833d85551e408830d6436b (diff)
downloadbcm5719-llvm-ba39592cee4472bcd8b837f47c876233e5b8b558.tar.gz
bcm5719-llvm-ba39592cee4472bcd8b837f47c876233e5b8b558.zip
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 llvm-svn: 145992
Diffstat (limited to 'llvm/lib/CodeGen/MachineBlockPlacement.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud