[all-commits] [llvm/llvm-project] 2f4f8f: [X86] Don't add DELETED_NODES to DAG combine workl...
topperc via All-commits
all-commits at lists.llvm.org
Sun Mar 1 00:20:29 PST 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 2f4f8fcf64c67ee327e19b74a82a2330cfb32312
https://github.com/llvm/llvm-project/commit/2f4f8fcf64c67ee327e19b74a82a2330cfb32312
Author: Craig Topper <craig.topper at gmail.com>
Date: 2020-03-01 (Sun, 01 Mar 2020)
Changed paths:
M llvm/lib/Target/X86/X86ISelLowering.cpp
A llvm/test/CodeGen/X86/pr45067.ll
Log Message:
-----------
[X86] Don't add DELETED_NODES to DAG combine worklist after calling SimplifyDemandedBits/SimplifyDemandedVectorElts.
These AddToWorklist calls were added in 84cd968f75bbd6e0fbabecc29d2c1090263adec7.
It's possible the SimplifyDemandedBits/SimplifyDemandedVectorElts
triggered CSE that deleted N. Detect that and avoid adding N
to the worklist.
Fixes PR45067.
More information about the All-commits
mailing list