Fold (unmerge undef) -> undef, undef, ...
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
llvm/include/llvm/Target/GlobalISel/Combine.td | ||
---|---|---|
543 | Could use applyBuildFn if you prefer, as it avoids writing a separate "apply" function of your own. | |
llvm/lib/CodeGen/GlobalISel/CombinerHelper.cpp | ||
1754 | Could return isa<GImplicitDef>(MRI.getVRegDef(SrcReg)) if you prefer. | |
llvm/test/CodeGen/AMDGPU/GlobalISel/postlegalizercombiner-select.mir | ||
1 | Can you regenerate the checks in this file and commit it please (consider it pre-approved) and then rebase this patch? |
Comment Actions
Could also do the same thing for constants. We probably emit a few unmerge of constants during legalization
Could use applyBuildFn if you prefer, as it avoids writing a separate "apply" function of your own.