diff options
author | Dan Gohman <dan433584@gmail.com> | 2015-08-24 18:44:37 +0000 |
---|---|---|
committer | Dan Gohman <dan433584@gmail.com> | 2015-08-24 18:44:37 +0000 |
commit | 7b63484b997e08f98e29f9b50acab85e1a64adf3 (patch) | |
tree | 7c6f2ac530d119397d028f7128f950785164ecfb /llvm/lib/Target/WebAssembly/WebAssemblyISelLowering.cpp | |
parent | 896e53fae806150d7eea7f11efe3738ca924dcd0 (diff) | |
download | llvm-7b63484b997e08f98e29f9b50acab85e1a64adf3.zip llvm-7b63484b997e08f98e29f9b50acab85e1a64adf3.tar.gz llvm-7b63484b997e08f98e29f9b50acab85e1a64adf3.tar.bz2 |
[WebAssembly] Skeleton FastISel support
llvm-svn: 245860
Diffstat (limited to 'llvm/lib/Target/WebAssembly/WebAssemblyISelLowering.cpp')
-rw-r--r-- | llvm/lib/Target/WebAssembly/WebAssemblyISelLowering.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/llvm/lib/Target/WebAssembly/WebAssemblyISelLowering.cpp b/llvm/lib/Target/WebAssembly/WebAssemblyISelLowering.cpp index 4cb3a31..dfeec77 100644 --- a/llvm/lib/Target/WebAssembly/WebAssemblyISelLowering.cpp +++ b/llvm/lib/Target/WebAssembly/WebAssemblyISelLowering.cpp @@ -151,6 +151,11 @@ WebAssemblyTargetLowering::WebAssemblyTargetLowering( setOperationAction(ISD::DYNAMIC_STACKALLOC, MVT::i32, Expand); } +FastISel *WebAssemblyTargetLowering::createFastISel( + FunctionLoweringInfo &FuncInfo, const TargetLibraryInfo *LibInfo) const { + return WebAssembly::createFastISel(FuncInfo, LibInfo); +} + MVT WebAssemblyTargetLowering::getScalarShiftAmountTy(const DataLayout &DL, EVT VT) const { return VT.getSimpleVT(); |