[PATCH] [UBSan][MIPS] Use unsigned value while bit shifting on MIPS

Daniel Sanders daniel.sanders at imgtec.com
Tue Apr 28 03:26:22 PDT 2015


Could you confirm the type of SIntMax and the value of ExtraBits when it gives incorrect results? 'X << N >> N' is a common idiom for sign-extension so it's surprising that it's not working for you.


REPOSITORY
  rL LLVM

http://reviews.llvm.org/D9247

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/






More information about the llvm-commits mailing list