[all-commits] [llvm/llvm-project] 69a211: [DAG] Fold trunc(srl(extract_elt(vec, c1), c2)) -> e...
Simon Pilgrim via All-commits
all-commits at lists.llvm.org
Fri Sep 13 07:14:20 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 69a21154caa5b53d302cd3bfd7ce0ec1a0c3d985
https://github.com/llvm/llvm-project/commit/69a21154caa5b53d302cd3bfd7ce0ec1a0c3d985
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2024-09-13 (Fri, 13 Sep 2024)
Changed paths:
M llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
M llvm/test/CodeGen/AArch64/expand-select.ll
Log Message:
-----------
[DAG] Fold trunc(srl(extract_elt(vec,c1),c2)) -> extract_elt(bitcast(vec),c3) (#107987)
Extends existing trunc(extract_elt(vec,c1)) -> extract_elt(bitcast(vec),c3) fold.
Noticed while working on #107404
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list