[all-commits] [llvm/llvm-project] b8038a: [WebAssembly] Disable SimplifyDemandedVectorElts a...
Heejin Ahn via All-commits
all-commits at lists.llvm.org
Wed Mar 16 20:53:06 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: b8038a916df29915368a74f7c29bf4ad4e367663
https://github.com/llvm/llvm-project/commit/b8038a916df29915368a74f7c29bf4ad4e367663
Author: Heejin Ahn <aheejin at gmail.com>
Date: 2022-03-16 (Wed, 16 Mar 2022)
Changed paths:
M llvm/include/llvm/CodeGen/TargetLowering.h
M llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
M llvm/lib/Target/WebAssembly/WebAssemblyISelLowering.cpp
M llvm/lib/Target/WebAssembly/WebAssemblyISelLowering.h
A llvm/test/CodeGen/WebAssembly/simd-simplify-demanded-vector-elts.ll
Log Message:
-----------
[WebAssembly] Disable SimplifyDemandedVectorElts after legalization
This fixes a reported bug that caused an infinite loop during the
SelectionDAG optimization phase in ISel, by creating an overridable hook
in `TargetLowering` that allows us to bail out from running
`SimplifyDemandedVectorElts`.
Reviewed By: tlively
Differential Revision: https://reviews.llvm.org/D121869
More information about the All-commits
mailing list