[LLVMdev] Possible bug in ExpandShiftWithUnknownAmountBit
Duncan Sands
baldrick at free.fr
Tue Dec 1 01:01:23 PST 2009
Hi,
> I'm working in adding support for 64-bit integers to my target. I'm using
> LLVM to decompose the 64-bit integer operations by using 32-bit registers
> wherever possible and emulating support where not. When looking at the bit
> shift decomposition I saw what seems to be a bug in the implementation. The
> affected function is ExpandShiftWithUnknownAmountBit in
> LegalizeIntegerTypes.cpp. Below is the original code and the proposed fix.
> Could someone please review the changes? If they are correct how do I go
> about submitting a patch?
can you please describe the problem and how you fix it (in words, not code).
Thanks,
Duncan.
More information about the llvm-dev
mailing list