summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CodeGenModule.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
commitfecdad623755b657535fbb64b9af9fd9880bdf28 (patch)
treec2359ba046a598ba6541f80aee918d1ad1fced83 /clang/lib/CodeGen/CodeGenModule.cpp
parentb625dd2d8725234496fa1b1a785f6f9ec98ed58c (diff)
downloadbcm5719-llvm-fecdad623755b657535fbb64b9af9fd9880bdf28.tar.gz
bcm5719-llvm-fecdad623755b657535fbb64b9af9fd9880bdf28.zip
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. llvm-svn: 118329
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud