aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenModule.cpp
diff options
context:
space:
mode:
authorLuke Lau <luke@igalia.com>2025-07-08 15:56:04 +0800
committerGitHub <noreply@github.com>2025-07-08 15:56:04 +0800
commit2e5776130b1da8d2d553b62a87c6bf6ace07e2f8 (patch)
tree4607108dca504edbf1f6678d15d4c1c04457bee4 /clang/lib/CodeGen/CodeGenModule.cpp
parentd889a7485f77c214ee57d0a74bf164237fdfa423 (diff)
downloadllvm-2e5776130b1da8d2d553b62a87c6bf6ace07e2f8.zip
llvm-2e5776130b1da8d2d553b62a87c6bf6ace07e2f8.tar.gz
llvm-2e5776130b1da8d2d553b62a87c6bf6ace07e2f8.tar.bz2
[VPlan] Simplify select !c, x, y -> select c, y, x (#147268)
This is split off from #133993 On its own this simplification isn't that useful, but it allows us to make the equivalent VPBlendRecipe optimisation more generic by operating on VPInstructions. In order to actually test this without #133993, I've had to also extend the m_Not pattern matcher to also catch VPWidenRecipes, since I couldn't really think of a straightforward way to create a VPInstruction::Select with a negated condition.
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions