[VNCoercion] Separate constant/non-constant mem intrinsic implementations (NFCI)
authorNikita Popov <npopov@redhat.com>
Thu, 30 Jun 2022 13:19:26 +0000 (15:19 +0200)
committerNikita Popov <npopov@redhat.com>
Thu, 30 Jun 2022 13:26:06 +0000 (15:26 +0200)
commit588e229bf92765263534ddc06b3241c936f52bfd
treebdc167d440a4ab33f0eae028fc81cde60569058d
parenta591c7ca0d9fe47223127ee13df60689f36ba112
[VNCoercion] Separate constant/non-constant mem intrinsic implementations (NFCI)

This means we no longer need to have the same API between IRBuilder
and IRBuilderFolder.

The constant case is substantially simpler, so implementing it
separately isn't an undue burden.
llvm/lib/Transforms/Utils/VNCoercion.cpp