[llvm-dev] Clang for the PlayStation 2

Tim Northover via llvm-dev llvm-dev at lists.llvm.org
Fri Sep 7 09:48:04 PDT 2018


On Fri, 7 Sep 2018 at 17:33, Dan Ravensloft <dan.ravensloft at gmail.com> wrote:
> Actually, I just tried your flags; you're missing `-msingle-float`, which is what reproduces the crash on my end. Without it there is no problem.

Oops, yes, I was then. Fortunately not last night though, and my Clang
still works with -msingle-float.

I looked at your diffs and you've only changed one of the functions to
return SDValue(), you need to change lowerFP_TO_SINT itself too. The
one with the store is just there as an optimization; if it doesn't
trigger (because of your diff) then lowerFP_TO_SINT will still create
a bad node afterwards.

Cheers.

Tim.


More information about the llvm-dev mailing list