diff options
author | Chris Lattner <sabre@nondot.org> | 2007-08-04 00:20:15 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2007-08-04 00:20:15 +0000 |
commit | 81a9688e937c4201d3001d088066bcf189971888 (patch) | |
tree | a04eae7f5457be394f69f1a9f0a52318946bf3cf /llvm/lib/Bitcode/Reader/BitcodeReader.cpp | |
parent | 374b06a080cf92f80c57ba1ea14e54d2a95a3237 (diff) | |
download | bcm5719-llvm-81a9688e937c4201d3001d088066bcf189971888.tar.gz bcm5719-llvm-81a9688e937c4201d3001d088066bcf189971888.zip |
Implement codegen for __builtin_choose_expr. For example:
struct X { int A; };
void foo() {
struct X s;
int i;
i = __builtin_choose_expr(0, s, i);
}
compiles to:
%tmp = load i32* %i ; <i32> [#uses=1]
store i32 %tmp, i32* %i
wow :)
llvm-svn: 40801
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions