[all-commits] [llvm/llvm-project] 6f2bee: [DAG] canCreateUndefOrPoison - add freeze(bswap(x)...
Simon Pilgrim via All-commits
all-commits at lists.llvm.org
Mon Aug 8 09:27:37 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 6f2bee667ad9244be65193892961d5d1eed24551
https://github.com/llvm/llvm-project/commit/6f2bee667ad9244be65193892961d5d1eed24551
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2022-08-08 (Mon, 08 Aug 2022)
Changed paths:
M llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
M llvm/test/CodeGen/X86/freeze-unary.ll
Log Message:
-----------
[DAG] canCreateUndefOrPoison - add freeze(bswap(x)) -> bswap(freeze(x)) and freeze(bitreverse(x)) -> bitreverse(freeze(x)) support
Both are guaranteed not to create undef/poison
More information about the All-commits
mailing list