aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/StackProtector.cpp
diff options
context:
space:
mode:
authorSimon Pilgrim <llvm-dev@redking.me.uk>2023-04-13 16:40:37 +0100
committerSimon Pilgrim <llvm-dev@redking.me.uk>2023-04-13 16:40:43 +0100
commitaa754f7e0fddcc6c4d6737c71baf357825b09a3e (patch)
treed67b7f145f4047d306d52fce0f8adbd261032116 /llvm/lib/CodeGen/StackProtector.cpp
parentbe58b42a7510e3fe204e015bcf5faa9ed35d1766 (diff)
downloadllvm-aa754f7e0fddcc6c4d6737c71baf357825b09a3e.zip
llvm-aa754f7e0fddcc6c4d6737c71baf357825b09a3e.tar.gz
llvm-aa754f7e0fddcc6c4d6737c71baf357825b09a3e.tar.bz2
[IR] llvm::createMinMaxOp - create integer min/max intrinsics instead of icmp/sel
Based off D148215, when expanding a min/max reduction we should be creating min/max intrinsics directly instead of relying on instcombine to fold them back together. This patch handles integer min/max cases. Hopefully we can add floating point support soon (at least for fastmath/nnan cases) - but we're missing some of the plumbing to pass the correct FMF to the intrinsic at the moment. Differential Revision: https://reviews.llvm.org/D148221
Diffstat (limited to 'llvm/lib/CodeGen/StackProtector.cpp')
0 files changed, 0 insertions, 0 deletions