diff options
author | Simon Pilgrim <llvm-dev@redking.me.uk> | 2024-05-04 12:03:10 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-04 12:03:10 +0100 |
commit | caacf8685ac49526103b748b6b439dea84c30274 (patch) | |
tree | d60a70a3dd883d437cbdeb6a763b13cc9295e427 /llvm/lib/Support/VirtualFileSystem.cpp | |
parent | 1e3c630fd1e868c38a2ef6dab0be80bc8f65c4a1 (diff) | |
download | llvm-caacf8685ac49526103b748b6b439dea84c30274.zip llvm-caacf8685ac49526103b748b6b439dea84c30274.tar.gz llvm-caacf8685ac49526103b748b6b439dea84c30274.tar.bz2 |
[DAG] Fold freeze(shuffle(x,y,m)) -> shuffle(freeze(x),freeze(y),m) (#90952)
If the shuffle mask contains no undef elements, then we can move the freeze through a shuffle node.
This requires special case handling to create a new ShuffleVectorSDNode.
Includes VECTOR_SHUFFLE support for isGuaranteedNotToBeUndefOrPoison / canCreateUndefOrPoison.
Diffstat (limited to 'llvm/lib/Support/VirtualFileSystem.cpp')
0 files changed, 0 insertions, 0 deletions