[VectorCombine] Avoid ConstantExpr::get() (NFC)
authorNikita Popov <npopov@redhat.com>
Wed, 29 Jun 2022 15:17:20 +0000 (17:17 +0200)
committerNikita Popov <npopov@redhat.com>
Wed, 29 Jun 2022 15:17:52 +0000 (17:17 +0200)
commitbdba8278d9c361103d32cfd56a215d017d444e9c
treebf71813004365256b8f2a05b72d2484c629d31e4
parent98007e975385713df526db9dba7c85f53ff5c6d6
[VectorCombine] Avoid ConstantExpr::get() (NFC)

Use IRBuilder APIs instead, which will still constant fold.
llvm/lib/Transforms/Vectorize/VectorCombine.cpp