[all-commits] [llvm/llvm-project] 89a2a4: [InstCombine] Add m_SpecificIntAllowUndef pattern ...
Simon Pilgrim via All-commits
all-commits at lists.llvm.org
Wed Oct 14 08:26:14 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 89a2a478708fb8821fb88ef3053e8d6bb5b59e08
https://github.com/llvm/llvm-project/commit/89a2a478708fb8821fb88ef3053e8d6bb5b59e08
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2020-10-14 (Wed, 14 Oct 2020)
Changed paths:
M llvm/include/llvm/IR/PatternMatch.h
M llvm/lib/Transforms/InstCombine/InstCombineAndOrXor.cpp
Log Message:
-----------
[InstCombine] Add m_SpecificIntAllowUndef pattern matcher
m_SpecificInt doesn't accept undef elements in a vector splat value - tweak specific_intval to optionally allow undefs and add the m_SpecificIntAllowUndef variants.
Allows us to remove the m_APIntAllowUndef + comparison hack inside matchFunnelShift
More information about the All-commits
mailing list