aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/IfConversion.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2010-11-06 07:14:44 +0000
committerChris Lattner <sabre@nondot.org>2010-11-06 07:14:44 +0000
commit662e5a30e864e71111b885d3da3cdd184772035d (patch)
tree0494649c5ff40effd8b73efa44f9844d0c9f4497 /lib/CodeGen/IfConversion.cpp
parent3f2c8e474b8775aa1f3c2c0cb817b7f9f564e068 (diff)
Reimplement BuildResultOperands to be in terms of the result instruction's
operand list instead of the operand list redundantly declared on the alias or instruction. With this change, we finally remove the ins/outs list on the alias. Before: def : InstAlias<(outs GR16:$dst), (ins GR8 :$src), "movsx $src, $dst", (MOVSX16rr8W GR16:$dst, GR8:$src)>; After: def : InstAlias<"movsx $src, $dst", (MOVSX16rr8W GR16:$dst, GR8:$src)>; This also makes the alias mechanism more general and powerful, which will be exploited in subsequent patches. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@118329 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/IfConversion.cpp')
0 files changed, 0 insertions, 0 deletions