[CMake] Error when specifying pstl in LLVM_ENABLE_PROJECTS
f59d270867ccd4f8f34b32e7f144519df332f4d2 originally added this logic to
pacify buildbots, particularly the premerge-monolithic-linux bot. This
was fixed soon after the fact in
https://github.com/llvm/llvm-zorg/pull/485, and the premerge bots are
only connected to staging right now using the upstream scripts anyways.
[VPlan] Handle min/max intrinsics in getSCEVExprForVPValue (NFCI)
Use m_Intrinsic to handle min/max intrinsics in getSCEVExprForVPValue.
This also extends Argument_match and IntrinsicID_match to VPInstruction
for completeness, and unifies the handling to avoid looking up functions
from the underlying IR instruction.
Tested via the VPlan-based cost-model, but same costs should be
computed.
As part of the extension, fix a bug in Argument_match that had an
incorrect offset for the operands of VPReplicateRecipe; the function is
the last argument.
[SLP]Do not swap RHS, if it is used in bool op, used as a second operand in a reduction
If the RHS operand is used as a first operand in the bool reduction op,
used as a second operand in the reduction ops, still need to use this
RHS as RHS, not as LHS
https://alive2.llvm.org/ce/z/pmc2YJ
Fixes #173796
[X86][NewPM] Port x86-optimize-leas to the new pass manager
Title. Test coverage also added.
Reviewers: arsenm, phoebewang, paperchalice, topperc, RKSimon
Pull Request: https://github.com/llvm/llvm-project/pull/173760
[AMDGPU][NewPM] Consistently preserve IR analyses in MF passes
These three passes were not doing so, unlike all the other passes.
Reviewers: vikramRH, cdevadas, paperchalice, arsenm
Pull Request: https://github.com/llvm/llvm-project/pull/173758
[CodeGen][NewPM] Consistently preserve IR analyses in MF passes
This was the only pass that did not do this in the generic codegen
infra. Update it to be consistent.
Reviewers: optimisan, paperchalice, arsenm
Pull Request: https://github.com/llvm/llvm-project/pull/173757
[NFC] Rename variables to FPOp (#173792)
In my earlier PR (https://github.com/llvm/llvm-project/pull/167574),
I've named a variable in fpext function wrong. I've changed the name in
both functions to generic FPOp
[CIR] Add CIR x86 codegen builtins tests (#173726)
Some of the tests I added in previous PRs seems to have unintentionally
been removed by #171694. I am adding them back here.
[SLP]FIx order of bool logical ops, if the right op is used in the first reduction operarion
If the LHS of the first reduction op is not a first operand, but RHS is,
and RHS is the second operand of the first reductoin op, still need to
emit RHS as a second reduction operand, though without freeze of the
LHS operand
https://alive2.llvm.org/ce/z/2_JLBu
Fixes #173784