Arm64/Sve: Removal of ConditionalSelect's operands when mask is AllFalse/AllTrue #104116
Labels
area-CodeGen-coreclr
CLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI
arm-sve
Work related to arm64 SVE/SVE2 support
Milestone
Today, for
ConditionalSelect
, we will just eliminatetrueValue
, if we see the mask is AllZero.runtime/src/coreclr/jit/hwintrinsic.cpp
Lines 1912 to 1915 in 1830cf0
This will fail if
trueValue
has a side-effect or a method call.https://godbolt.org/z/qbbYenW9j
Thanks @TIHan for bringing it to attention.
The text was updated successfully, but these errors were encountered: