[llvm-commits] Fix the CPP backend's handling of conditional branches

Collin Winter collinwinter at google.com
Mon May 4 11:53:42 PDT 2009


Hi all,

At head, llc -march=cpp emits broken calls to BranchInst::Create for
conditional branches (llc succeeds, but g++ fails when compiling the
emitted C++ code). The attached patch fixes this and adds a test.

Thanks,
Collin Winter
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cpp-condbranch.patch
Type: application/octet-stream
Size: 1841 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20090504/07fc1274/attachment.obj>


More information about the llvm-commits mailing list