OSDN Git Service

Catch more function pointer casting problems
authorAndrew Lenharth <andrewl@lenharth.org>
Wed, 28 Jun 2006 01:01:52 +0000 (01:01 +0000)
committerAndrew Lenharth <andrewl@lenharth.org>
Wed, 28 Jun 2006 01:01:52 +0000 (01:01 +0000)
commitb8e604c29a720edee8bff5981b0b3dc2b02eb9f0
tree0bad89d8704ee23a62db19b1cb94a540df09a620
parentc9094dbbe9557f7cc4e7e094a5901ea2fa680e3d
Catch more function pointer casting problems
Remove the Function pointer cast in these calls, converting it to
a cast of argument.
%tmp60 = tail call int cast (int (ulong)* %str to int (int)*)( int 10 )
%tmp60 = tail call int cast (int (ulong)* %str to int (int)*)( uint %tmp51 )

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28953 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Scalar/InstructionCombining.cpp