[LLVMdev] Possible bug in ExpandShiftWithUnknownAmountBit

Nick Lewycky nicholas at mxc.ca
Fri Dec 4 18:21:07 PST 2009


Duncan Sands wrote:
> Hi Javier,
>
>> The issue with a test case is that it will depend on the target to expose
>> it. Like you noted in the check-in comment x86 doesn't expose the bug. The
>> target I'm working on isn't public. Short of writing a new one for the
>> purpose of a test case I don't know what else to do. Do you have a
>> suggestion?
>
> in that case I guess we will have to live without a testcase :)

It would be fantastic if someone could take the lead and create our 
first codegen or target unittest. You could write a small C++ program 
under unittests/ which #include "../../lib/Target/whatever" as needed to 
call directly into the code with the bug.

Nick



More information about the llvm-dev mailing list