[llvm-commits] [llvm] r85627 - in /llvm/trunk: lib/VMCore/BasicBlock.cpp test/Transforms/SimplifyCFG/basictest.ll

Duncan Sands baldrick at free.fr
Sun Nov 1 01:19:37 PST 2009


Hi Chris, I guess you hit this one too in your testing :)

> +    Constant *Replacement =
> +      ConstantInt::get(llvm::Type::getInt32Ty(getContext()), 1);

Why not replace with undef?  Is this so it is easier to debug if someone
does try to jump to it?

Ciao,

Duncan.



More information about the llvm-commits mailing list