[all-commits] [llvm/llvm-project] 6b5198: [X86] Simplify broadcast mask detection with isUnd...
Simon Pilgrim via All-commits
all-commits at lists.llvm.org
Mon Sep 28 05:13:26 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 6b5198f06b585e1fa3be530be2fbc76dd2d442c1
https://github.com/llvm/llvm-project/commit/6b5198f06b585e1fa3be530be2fbc76dd2d442c1
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2020-09-28 (Mon, 28 Sep 2020)
Changed paths:
M llvm/lib/Target/X86/X86ISelLowering.cpp
Log Message:
-----------
[X86] Simplify broadcast mask detection with isUndefOrEqual helper.
Add an additional isUndefOrEqual variant that matches an entire mask, not just a single value.
Commit: e0820d87e3cd135a88ece609bef18a0401a85718
https://github.com/llvm/llvm-project/commit/e0820d87e3cd135a88ece609bef18a0401a85718
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2020-09-28 (Mon, 28 Sep 2020)
Changed paths:
M llvm/lib/Target/X86/X86ISelLowering.cpp
Log Message:
-----------
[X86] Flip isShuffleEquivalent argument order to match isTargetShuffleEquivalent
A while ago, we converted isShuffleEquivalent/isTargetShuffleEquivalent to both use IsElementEquivalent internally.
This allows us to make the shuffle args optional like isTargetShuffleEquivalent and update foldShuffleOfHorizOp to use isShuffleEquivalent (which it should as its using a ISD::VECTOR_SHUFFLE mask).
Compare: https://github.com/llvm/llvm-project/compare/31b3f32104db...e0820d87e3cd
More information about the All-commits
mailing list