aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Support/APInt.cpp
diff options
context:
space:
mode:
authorDavid Majnemer <david.majnemer@gmail.com>2016-05-27 02:06:19 +0000
committerDavid Majnemer <david.majnemer@gmail.com>2016-05-27 02:06:19 +0000
commite6abf3d29fcd1fb6cceeeda564c564172307f9cf (patch)
tree64e1388c9d1b6b9445b2539407a68615acf284d1 /llvm/lib/Support/APInt.cpp
parentb2c5720bfd16bd0b8da62c6b9cfa4ade822428ba (diff)
downloadllvm-e6abf3d29fcd1fb6cceeeda564c564172307f9cf.zip
llvm-e6abf3d29fcd1fb6cceeeda564c564172307f9cf.tar.gz
llvm-e6abf3d29fcd1fb6cceeeda564c564172307f9cf.tar.bz2
[CodeGen] Don't crash when sizeof(long) != 4 for some intrins
_InterlockedIncrement and _InterlockedDecrement have 'long' in their prototypes. We assumed 'long' was the same size as an i32 which is incorrect for other targets. This fixes PR27892. llvm-svn: 270953
Diffstat (limited to 'llvm/lib/Support/APInt.cpp')
0 files changed, 0 insertions, 0 deletions