The promotion of the uniform select to i32 interfered with this fold.
Details
Details
Diff Detail
Diff Detail
Paths
| Differential D73069
AMDGPU: Look through casted selects to constant fold bin ops ClosedPublic Authored by arsenm on Jan 20 2020, 4:40 PM.
Details
Diff Detail Event TimelineThis revision is now accepted and ready to land.Jan 20 2020, 5:21 PM
Revision Contents
Diff 239209 llvm/lib/Target/AMDGPU/AMDGPUCodeGenPrepare.cpp
llvm/test/CodeGen/AMDGPU/amdgpu-codegenprepare-fold-binop-select.ll
llvm/test/CodeGen/AMDGPU/dagcombine-select.ll
|
typo: weer