[PATCH] [AArch64] Fix miscompile of comparison with 0xffffffffffffffff

Tim Northover t.p.northover at gmail.com
Thu Oct 30 07:14:52 PDT 2014


Hi Oliver,

Nasty one. I think it might be better to use INT64_MAX instead (explicitly casted, if that's necessary to silence a warning), it makes this kind of mistake impossible.

Cheers.

Tim.

http://reviews.llvm.org/D6032






More information about the llvm-commits mailing list