[all-commits] [llvm/llvm-project] 3fd1cc: [SLP] Add Preheader to CSE blocks after hoisting C...
Florian Hahn via All-commits
all-commits at lists.llvm.org
Mon Sep 12 07:53:58 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 3fd1cc2574364ce438ac34da56c848ad5903d774
https://github.com/llvm/llvm-project/commit/3fd1cc2574364ce438ac34da56c848ad5903d774
Author: Florian Hahn <flo at fhahn.com>
Date: 2022-09-12 (Mon, 12 Sep 2022)
Changed paths:
M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
M llvm/test/Transforms/SLPVectorizer/X86/cse.ll
Log Message:
-----------
[SLP] Add Preheader to CSE blocks after hoisting CSE-able instrs.
Adding the pre-header to CSEBlocks ensures instructions are CSE'd even
after hoisting.
This was original discovered by @atrick a while ago.
Reviewed By: ABataev
Differential Revision: https://reviews.llvm.org/D133649
More information about the All-commits
mailing list