Current implementation only recognizes absolute operation implemented by
select instruction. This patch adds support for abs intrinsic.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
llvm/lib/Target/X86/X86PartialReduction.cpp | ||
---|---|---|
224–225 | Sink RHS into the else so it doens't get accidentally used. | |
225–239 | Add curly braces to be consistent with the else. See the 4th example if here https://llvm.org/docs/CodingStandards.html#don-t-use-braces-on-simple-single-statement-bodies-of-if-else-loop-statements | |
llvm/test/CodeGen/X86/sad.ll | ||
1133 | This part about SelectionDAGBuilder I think refers to the how we handled these cases before X86PartialReduction.cpp was added. |
Sink RHS into the else so it doens't get accidentally used.