diff options
author | Chris Lattner <sabre@nondot.org> | 2006-02-01 22:41:11 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2006-02-01 22:41:11 +0000 |
commit | aa23fa9f435d20751fd35aea063481cb6bef5564 (patch) | |
tree | 5e2d581c4dbd216a61d6413ea2c5c43285766bc8 /llvm/lib/Target/TargetSubtarget.cpp | |
parent | ae8863849b7440dea364f1e6266403a38fb8f7d4 (diff) | |
download | bcm5719-llvm-aa23fa9f435d20751fd35aea063481cb6bef5564.tar.gz bcm5719-llvm-aa23fa9f435d20751fd35aea063481cb6bef5564.zip |
Implement smart printing of inline asm strings, handling variants and
substituted operands. For this testcase:
int %test(int %A, int %B) {
%C = call int asm "xyz $0, $1, $2", "=r,r,r"(int %A, int %B)
ret int %C
}
we now emit:
_test:
or r2, r3, r3
or r3, r4, r4
xyz r2, r2, r3 ;; look here
or r3, r2, r2
blr
... note the substituted operands. :)
llvm-svn: 25886
Diffstat (limited to 'llvm/lib/Target/TargetSubtarget.cpp')
0 files changed, 0 insertions, 0 deletions