aboutsummaryrefslogtreecommitdiffstats
path: root/lib/hipe/main
diff options
context:
space:
mode:
authorMagnus Lång <[email protected]>2015-11-20 14:39:48 +0100
committerMagnus Lång <[email protected]>2015-11-27 18:18:38 +0100
commitbac7c55f9a9250f6edb57170530d567df6c92f29 (patch)
treef44973b5331cb4fd3840ba9d798bd947dc244f6b /lib/hipe/main
parent148153eb16e873181ff6961f854105a240989265 (diff)
downloadotp-bac7c55f9a9250f6edb57170530d567df6c92f29.tar.gz
otp-bac7c55f9a9250f6edb57170530d567df6c92f29.tar.bz2
otp-bac7c55f9a9250f6edb57170530d567df6c92f29.zip
hipe: Allow unsigned args in hipe_rtl_arith
hipe_rtl_arith is only used by hipe_rtl_ssa_const_prop, which applies it to any RTL, including RTL where the intent is to do unsigned math. Since signed and unsigned operations produce the same 2's complement result, this change is harmless. On 32-bit architectures it caused HiPE crashes when compiling code like <<0:((1 bsl 32)-1)>>, because the size of the field is too large to fit in a signed integer.
Diffstat (limited to 'lib/hipe/main')
0 files changed, 0 insertions, 0 deletions