[InstCombine] Remove PromoteCastOfAllocation() fold (NFC)
authorNikita Popov <npopov@redhat.com>
Wed, 5 Apr 2023 13:41:53 +0000 (15:41 +0200)
committerNikita Popov <npopov@redhat.com>
Wed, 5 Apr 2023 13:55:43 +0000 (15:55 +0200)
commit3cbdcd6ebfad5c55c859c129e25c9bd991d6295f
tree2faa9043ecb66aafd276df39105b108e2868b1bc
parentf3a7783bf37a751f359a6a9b4795a87922327c13
[InstCombine] Remove PromoteCastOfAllocation() fold (NFC)

This fold does not apply to opaque pointers, and as such is no
longer needed.
llvm/lib/Transforms/InstCombine/InstCombineCasts.cpp
llvm/lib/Transforms/InstCombine/InstCombineInternal.h
llvm/test/DebugInfo/Generic/assignment-tracking/instcombine/alloca-bitcast.ll [deleted file]