We are not able to bitcast a pointer to an integral value.
authorBill Wendling <isanbard@gmail.com>
Mon, 15 Apr 2013 22:33:50 +0000 (22:33 +0000)
committerBill Wendling <isanbard@gmail.com>
Mon, 15 Apr 2013 22:33:50 +0000 (22:33 +0000)
commit23e00ae631d8063a5d52d424968a6ebdc24e81f7
tree5345f8e3cb2a481828e71bc2c8fc15d10b2e3a54
parentb8145e3881872fffbac15693c94536446f060330
We are not able to bitcast a pointer to an integral value.

Two return types are not equivalent if one is a pointer and the other is an
integral. This is because we cannot bitcast a pointer to an integral value.
PR15185

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179569 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/IPO/MergeFunctions.cpp
test/Transforms/MergeFunc/crash.ll [new file with mode: 0644]