[LLVMdev] Large constants in patchpoints (original) (raw)
Sanjoy Das sanjoy at playingwithpointers.com
Fri Oct 31 11:44:33 PDT 2014
- Previous message: [LLVMdev] Large constants in patchpoints
- Next message: [LLVMdev] Large constants in patchpoints
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Apologies, please ignore the aside:
An aside: the same function has this check "((I->Offset + (int64t(1)<<31)) >> 32)" -- won't this cause a signed overflow (and hence UB) if I->Offset is negative?
The overflow won't be a signed overflow, so we're okay.
-- Sanjoy
- Previous message: [LLVMdev] Large constants in patchpoints
- Next message: [LLVMdev] Large constants in patchpoints
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]