[llvm-commits] [llvm] r115091 - in /llvm/trunk: lib/Transforms/Scalar/SimplifyLibCalls.cpp test/Transforms/SimplifyLibCalls/StrRChr.ll
Duncan Sands
baldrick at free.fr
Thu Sep 30 00:39:13 PDT 2010
Hi Benjamin
> + // Compute the offset.
> + size_t I = Str.rfind(CharC->getSExtValue());
this will crash if CharC has more than 64 bits. While this seems very
unlikely to ever happen in practice, it seems straightforward to write
some IR by hand which would trigger it.
Ciao,
Duncan.
More information about the llvm-commits
mailing list