Migrate to llvm::5372160a18

This commit is contained in:
Sameer Rahmani 2022-02-06 18:37:44 +00:00
parent 96438bf90b
commit 008ba402f0
5 changed files with 4 additions and 5 deletions

View File

@ -35,7 +35,7 @@ BUILD_DIR=$ROOT_DIR/build
ME=$(cd "$(dirname "$0")/." >/dev/null 2>&1 ; pwd -P)
CMAKEARGS_DEBUG=" -DCMAKE_BUILD_TYPE=Debug -DSERENE_WITH_MLIR_CL_OPTION=ON"
# Verbose -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON
# Verbose -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON
CMAKEARGS=" -DCMAKE_EXPORT_COMPILE_COMMANDS=ON -DSERENE_CCACHE_DIR=$HOME/.ccache"
# The scan-build utility scans the build for bugs checkout the man page

View File

@ -81,7 +81,7 @@ class SERENE_EXPORT SereneContext {
bool JITenableObjectCache = true;
bool JITenableGDBNotificationListener = true;
bool JITenablePerfNotificationListener = true;
bool JITLazy = true;
bool JITLazy = false;
Options() = default;
};

View File

@ -30,7 +30,7 @@ def Serene_Dialect : Dialect {
// * The parent dialect of the operation.
// * The mnemonic for the operation, or the name without the dialect prefix.
// * A list of traits for the operation.
class Serene_Op<string mnemonic, list<OpTrait> traits = []> :
class Serene_Op<string mnemonic, list<Trait> traits = []> :
Op<Serene_Dialect, mnemonic, traits>;

View File

@ -22,7 +22,6 @@
#include <mlir/IR/Attributes.h>
#include <mlir/IR/Builders.h>
#include <mlir/IR/BuiltinAttributes.h>
#include <mlir/IR/Identifier.h>
#include <mlir/IR/OperationSupport.h>
namespace serene::slir {

View File

@ -75,7 +75,7 @@ int main(int argc, char **argv) {
#include <sanitizer/lsan_interface.h>
// Disable LeakSanitizer for this binary as it has too many leaks that are not
// very interesting to fix. See compiler-rt/include/sanitizer/lsan_interface.h .
// very interesting to fix. See compiler-rt/include/sanitizer/lsan_interface.h
LLVM_ATTRIBUTE_USED int __lsan_is_turned_off() { return 1; }
#endif