[InstCombine] Remove varargs cast transform (NFC)
authorNikita Popov <npopov@redhat.com>
Wed, 5 Apr 2023 14:22:56 +0000 (16:22 +0200)
committerNikita Popov <npopov@redhat.com>
Wed, 5 Apr 2023 14:36:21 +0000 (16:36 +0200)
commit238a59c3f1fcc2af2cc88f4385d81e4522f54b86
tree3246eba19308a8ef3e9fc76810d31d46a8520700
parentae5f049378826f966828bd025d13f4a917cc230e
[InstCombine] Remove varargs cast transform (NFC)

This is no longer relevant with opaque pointers.

Also drop the CastInst::isLosslessCast() method, which was only
used here.
llvm/include/llvm/IR/InstrTypes.h
llvm/lib/IR/Instructions.cpp
llvm/lib/Transforms/InstCombine/InstCombineCalls.cpp