mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2026-04-20 00:20:11 +00:00
Make helper functions static.
Found by -Wmissing-prototypes. NFC. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@231664 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -2533,10 +2533,9 @@ getReductionBinOp(LoopVectorizationLegality::ReductionKind Kind) {
|
||||
}
|
||||
}
|
||||
|
||||
Value *createMinMaxOp(IRBuilder<> &Builder,
|
||||
LoopVectorizationLegality::MinMaxReductionKind RK,
|
||||
Value *Left,
|
||||
Value *Right) {
|
||||
static Value *createMinMaxOp(IRBuilder<> &Builder,
|
||||
LoopVectorizationLegality::MinMaxReductionKind RK,
|
||||
Value *Left, Value *Right) {
|
||||
CmpInst::Predicate P = CmpInst::ICMP_NE;
|
||||
switch (RK) {
|
||||
default:
|
||||
|
||||
Reference in New Issue
Block a user