[all-commits] [llvm/llvm-project] 0ade26: [DAG] visitBITCAST - fold (bitcast (freeze (load x...
Simon Pilgrim via All-commits
all-commits at lists.llvm.org
Fri Nov 7 02:51:13 PST 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 0ade2604f2e135c5a8f081cb6a11cd2404aff38e
https://github.com/llvm/llvm-project/commit/0ade2604f2e135c5a8f081cb6a11cd2404aff38e
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2025-11-07 (Fri, 07 Nov 2025)
Changed paths:
M llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
M llvm/lib/Target/X86/X86ISelLowering.cpp
M llvm/test/CodeGen/X86/avx10_2_512bf16-arith.ll
M llvm/test/CodeGen/X86/avx10_2bf16-arith.ll
M llvm/test/CodeGen/X86/widen-load-of-small-alloca.ll
Log Message:
-----------
[DAG] visitBITCAST - fold (bitcast (freeze (load x))) -> (freeze (load (bitcast*)x)) (#164618)
Tweak the existing (bitcast (load x)) -> (load (bitcast*)x) fold to handle oneuse freeze as well
Inspired by #163070 - this tries to avoid in place replacement of frozen nodes which has caused infinite loops in the past
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