[cfi] Fix LowerBitSets on 32-bit targets.
authorEvgeniy Stepanov <eugeni.stepanov@gmail.com>
Mon, 21 Dec 2015 22:14:04 +0000 (22:14 +0000)
committerEvgeniy Stepanov <eugeni.stepanov@gmail.com>
Mon, 21 Dec 2015 22:14:04 +0000 (22:14 +0000)
commitae6314583f5332371831c990ace5bc2e62347d89
treec096581ec27f9d96e4595985c0552d75b853dbab
parent56afa6e6600151858649d12e4360746918a7978b
[cfi] Fix LowerBitSets on 32-bit targets.

This code attempts to truncate IntPtrTy to i32, which may be the same
type.

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