Need to add an extra check for potential undef values in
computeExtractCost function to avoid compiler crash on casting to
instructon.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Paths
| Differential D115162
[SLP]Fix compiler crash when calculating extract cost for undefs. ClosedPublic Authored by ABataev on Dec 6 2021, 8:34 AM.
Details Summary Need to add an extra check for potential undef values in
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Dec 6 2021, 9:31 AM This revision was landed with ongoing or failed builds.Dec 6 2021, 10:46 AM Closed by commit rGa101a9b64b31: [SLP]Fix compiler crash when calculating extract cost for undefs. (authored by ABataev). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 392125 llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
llvm/test/Transforms/SLPVectorizer/X86/extracts-with-undefs.ll
|