forked from OSchip/llvm-project
Move createScalarizeMaskedMemIntrinPass to Scalar.h
This commit is contained in:
parent
10987e30be
commit
5f18e2f31e
|
@ -76,10 +76,6 @@ namespace llvm {
|
|||
/// matching during instruction selection.
|
||||
FunctionPass *createCodeGenPreparePass();
|
||||
|
||||
/// createScalarizeMaskedMemIntrinPass - Replace masked load, store, gather
|
||||
/// and scatter intrinsics with scalar code when target doesn't support them.
|
||||
FunctionPass *createScalarizeMaskedMemIntrinPass();
|
||||
|
||||
/// AtomicExpandID -- Lowers atomic operations in terms of either cmpxchg
|
||||
/// load-linked/store-conditional loops.
|
||||
extern char &AtomicExpandID;
|
||||
|
|
|
@ -545,6 +545,14 @@ Pass *createWarnMissedTransformationsPass();
|
|||
// instruction in a function.
|
||||
//
|
||||
FunctionPass *createInstSimplifyLegacyPass();
|
||||
|
||||
|
||||
//===----------------------------------------------------------------------===//
|
||||
//
|
||||
// createScalarizeMaskedMemIntrinPass - Replace masked load, store, gather
|
||||
// and scatter intrinsics with scalar code when target doesn't support them.
|
||||
//
|
||||
FunctionPass *createScalarizeMaskedMemIntrinPass();
|
||||
} // End llvm namespace
|
||||
|
||||
#endif
|
||||
|
|
|
@ -31,6 +31,7 @@
|
|||
#include "llvm/InitializePasses.h"
|
||||
#include "llvm/Pass.h"
|
||||
#include "llvm/Support/Casting.h"
|
||||
#include "llvm/Transforms/Scalar.h"
|
||||
#include <algorithm>
|
||||
#include <cassert>
|
||||
|
||||
|
|
Loading…
Reference in New Issue