[llvm-project] Fix typo "seperate" (#95373)
This commit is contained in:
parent
cd94fa7e75
commit
d4a0154902
@ -195,10 +195,10 @@ TidyProvider addTidyChecks(llvm::StringRef Checks,
|
|||||||
}
|
}
|
||||||
|
|
||||||
TidyProvider disableUnusableChecks(llvm::ArrayRef<std::string> ExtraBadChecks) {
|
TidyProvider disableUnusableChecks(llvm::ArrayRef<std::string> ExtraBadChecks) {
|
||||||
constexpr llvm::StringLiteral Seperator(",");
|
constexpr llvm::StringLiteral Separator(",");
|
||||||
static const std::string BadChecks = llvm::join_items(
|
static const std::string BadChecks = llvm::join_items(
|
||||||
Seperator,
|
Separator,
|
||||||
// We want this list to start with a seperator to
|
// We want this list to start with a separator to
|
||||||
// simplify appending in the lambda. So including an
|
// simplify appending in the lambda. So including an
|
||||||
// empty string here will force that.
|
// empty string here will force that.
|
||||||
"",
|
"",
|
||||||
@ -227,7 +227,7 @@ TidyProvider disableUnusableChecks(llvm::ArrayRef<std::string> ExtraBadChecks) {
|
|||||||
for (const std::string &Str : ExtraBadChecks) {
|
for (const std::string &Str : ExtraBadChecks) {
|
||||||
if (Str.empty())
|
if (Str.empty())
|
||||||
continue;
|
continue;
|
||||||
Size += Seperator.size();
|
Size += Separator.size();
|
||||||
if (LLVM_LIKELY(Str.front() != '-'))
|
if (LLVM_LIKELY(Str.front() != '-'))
|
||||||
++Size;
|
++Size;
|
||||||
Size += Str.size();
|
Size += Str.size();
|
||||||
@ -238,7 +238,7 @@ TidyProvider disableUnusableChecks(llvm::ArrayRef<std::string> ExtraBadChecks) {
|
|||||||
for (const std::string &Str : ExtraBadChecks) {
|
for (const std::string &Str : ExtraBadChecks) {
|
||||||
if (Str.empty())
|
if (Str.empty())
|
||||||
continue;
|
continue;
|
||||||
DisableGlob += Seperator;
|
DisableGlob += Separator;
|
||||||
if (LLVM_LIKELY(Str.front() != '-'))
|
if (LLVM_LIKELY(Str.front() != '-'))
|
||||||
DisableGlob.push_back('-');
|
DisableGlob.push_back('-');
|
||||||
DisableGlob += Str;
|
DisableGlob += Str;
|
||||||
|
@ -520,7 +520,7 @@ public:
|
|||||||
std::string ProductName;
|
std::string ProductName;
|
||||||
|
|
||||||
// Currently this is only used as part of the `-extract-api` action.
|
// Currently this is only used as part of the `-extract-api` action.
|
||||||
// A comma seperated list of files providing a list of APIs to
|
// A comma separated list of files providing a list of APIs to
|
||||||
// ignore when extracting documentation.
|
// ignore when extracting documentation.
|
||||||
std::vector<std::string> ExtractAPIIgnoresFileList;
|
std::vector<std::string> ExtractAPIIgnoresFileList;
|
||||||
|
|
||||||
|
@ -135,7 +135,7 @@ private:
|
|||||||
|
|
||||||
// Check if an internal declaration in zippered library has an
|
// Check if an internal declaration in zippered library has an
|
||||||
// external declaration for a different platform. This results
|
// external declaration for a different platform. This results
|
||||||
// in the symbol being in a "seperate" platform slice.
|
// in the symbol being in a "separate" platform slice.
|
||||||
bool shouldIgnoreInternalZipperedSymbol(const Record *R,
|
bool shouldIgnoreInternalZipperedSymbol(const Record *R,
|
||||||
const SymbolContext &SymCtx) const;
|
const SymbolContext &SymCtx) const;
|
||||||
|
|
||||||
|
@ -218,7 +218,7 @@ bool InstallAPIVisitor::VisitVarDecl(const VarDecl *D) {
|
|||||||
if (isa<ParmVarDecl>(D))
|
if (isa<ParmVarDecl>(D))
|
||||||
return true;
|
return true;
|
||||||
|
|
||||||
// Skip variables in records. They are handled seperately for C++.
|
// Skip variables in records. They are handled separately for C++.
|
||||||
if (D->getDeclContext()->isRecord())
|
if (D->getDeclContext()->isRecord())
|
||||||
return true;
|
return true;
|
||||||
|
|
||||||
|
@ -37,7 +37,7 @@ namespace clang {
|
|||||||
unsigned AbbrevToUse;
|
unsigned AbbrevToUse;
|
||||||
|
|
||||||
/// A helper that can help us to write a packed bit across function
|
/// A helper that can help us to write a packed bit across function
|
||||||
/// calls. For example, we may write seperate bits in seperate functions:
|
/// calls. For example, we may write separate bits in separate functions:
|
||||||
///
|
///
|
||||||
/// void VisitA(A* a) {
|
/// void VisitA(A* a) {
|
||||||
/// Record.push_back(a->isSomething());
|
/// Record.push_back(a->isSomething());
|
||||||
|
@ -2280,7 +2280,7 @@ void test_sscanf() {
|
|||||||
// %n, %s, %d, %f, and %% already tested
|
// %n, %s, %d, %f, and %% already tested
|
||||||
}
|
}
|
||||||
|
|
||||||
// Tested by a seperate source file. This empty function is here to appease the
|
// Tested by a separate source file. This empty function is here to appease the
|
||||||
// check-wrappers script.
|
// check-wrappers script.
|
||||||
void test_fork() {}
|
void test_fork() {}
|
||||||
|
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
// RUN: %clangxx -fPIC -c -o %t/main.o %S/Inputs/trivial-tls-main.cpp
|
// RUN: %clangxx -fPIC -c -o %t/main.o %S/Inputs/trivial-tls-main.cpp
|
||||||
// RUN: %clangxx -fPIC -c -o %t/pwr10.o %S/Inputs/trivial-tls-pwr10.cpp
|
// RUN: %clangxx -fPIC -c -o %t/pwr10.o %S/Inputs/trivial-tls-pwr10.cpp
|
||||||
// RUN: %llvm_jitlink %t/main.o %t/pwr10.o
|
// RUN: %llvm_jitlink %t/main.o %t/pwr10.o
|
||||||
// FIXME: We seperate pwr10 code from main object file due to currrent
|
// FIXME: We separate pwr10 code from main object file due to currrent
|
||||||
// implementation only supports one PLT stub for the same symbol.
|
// implementation only supports one PLT stub for the same symbol.
|
||||||
// For example, `bl __tls_get_addr` in one object file has only one PLT stub,
|
// For example, `bl __tls_get_addr` in one object file has only one PLT stub,
|
||||||
// however we need another different PLT stub for `bl __tls_get_addr@notoc`
|
// however we need another different PLT stub for `bl __tls_get_addr@notoc`
|
||||||
|
@ -21,7 +21,7 @@ stdout. It can be ran as:
|
|||||||
Parameters:
|
Parameters:
|
||||||
|
|
||||||
-d --directory Specify which directory to scan. Multiple directories can be searched by
|
-d --directory Specify which directory to scan. Multiple directories can be searched by
|
||||||
providing a semicolon seperated list of directories.
|
providing a semicolon separated list of directories.
|
||||||
|
|
||||||
-l --log Combine all yaml files into one log (instead of generating a summary)
|
-l --log Combine all yaml files into one log (instead of generating a summary)
|
||||||
|
|
||||||
|
@ -2781,7 +2781,7 @@ void OmpStructureChecker::CheckIsLoopIvPartOfClause(
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
// Following clauses have a seperate node in parse-tree.h.
|
// Following clauses have a separate node in parse-tree.h.
|
||||||
// Atomic-clause
|
// Atomic-clause
|
||||||
CHECK_SIMPLE_PARSER_CLAUSE(OmpAtomicRead, OMPC_read)
|
CHECK_SIMPLE_PARSER_CLAUSE(OmpAtomicRead, OMPC_read)
|
||||||
CHECK_SIMPLE_PARSER_CLAUSE(OmpAtomicWrite, OMPC_write)
|
CHECK_SIMPLE_PARSER_CLAUSE(OmpAtomicWrite, OMPC_write)
|
||||||
@ -2887,18 +2887,18 @@ void OmpStructureChecker::CheckAllowedMapTypes(
|
|||||||
const parser::OmpMapType::Type &type,
|
const parser::OmpMapType::Type &type,
|
||||||
const std::list<parser::OmpMapType::Type> &allowedMapTypeList) {
|
const std::list<parser::OmpMapType::Type> &allowedMapTypeList) {
|
||||||
if (!llvm::is_contained(allowedMapTypeList, type)) {
|
if (!llvm::is_contained(allowedMapTypeList, type)) {
|
||||||
std::string commaSeperatedMapTypes;
|
std::string commaSeparatedMapTypes;
|
||||||
llvm::interleave(
|
llvm::interleave(
|
||||||
allowedMapTypeList.begin(), allowedMapTypeList.end(),
|
allowedMapTypeList.begin(), allowedMapTypeList.end(),
|
||||||
[&](const parser::OmpMapType::Type &mapType) {
|
[&](const parser::OmpMapType::Type &mapType) {
|
||||||
commaSeperatedMapTypes.append(parser::ToUpperCaseLetters(
|
commaSeparatedMapTypes.append(parser::ToUpperCaseLetters(
|
||||||
parser::OmpMapType::EnumToString(mapType)));
|
parser::OmpMapType::EnumToString(mapType)));
|
||||||
},
|
},
|
||||||
[&] { commaSeperatedMapTypes.append(", "); });
|
[&] { commaSeparatedMapTypes.append(", "); });
|
||||||
context_.Say(GetContext().clauseSource,
|
context_.Say(GetContext().clauseSource,
|
||||||
"Only the %s map types are permitted "
|
"Only the %s map types are permitted "
|
||||||
"for MAP clauses on the %s directive"_err_en_US,
|
"for MAP clauses on the %s directive"_err_en_US,
|
||||||
commaSeperatedMapTypes, ContextDirectiveAsFortran());
|
commaSeparatedMapTypes, ContextDirectiveAsFortran());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
! Verify that `-mllvm` options are forwarded to LLVM and `-mmlir` to MLIR.
|
! Verify that `-mllvm` options are forwarded to LLVM and `-mmlir` to MLIR.
|
||||||
|
|
||||||
! In practice, '-mmlir --help' is a super-set of '-mllvm --help' and that limits what we can test here. With a better seperation of
|
! In practice, '-mmlir --help' is a super-set of '-mllvm --help' and that limits what we can test here. With a better separation of
|
||||||
! LLVM, MLIR and Flang global options, we should be able to write a stricter test.
|
! LLVM, MLIR and Flang global options, we should be able to write a stricter test.
|
||||||
|
|
||||||
! RUN: %flang_fc1 -mmlir --help | FileCheck %s --check-prefix=MLIR
|
! RUN: %flang_fc1 -mmlir --help | FileCheck %s --check-prefix=MLIR
|
||||||
|
@ -248,7 +248,7 @@ LIBC_INLINE int raise_except(int excepts) {
|
|||||||
// of the "Intel 64 and IA-32 Architectures Software Developer's
|
// of the "Intel 64 and IA-32 Architectures Software Developer's
|
||||||
// Manual, Vol 1".
|
// Manual, Vol 1".
|
||||||
|
|
||||||
// FPU status word is read for each exception seperately as the
|
// FPU status word is read for each exception separately as the
|
||||||
// exception handler can potentially write to it (typically to clear
|
// exception handler can potentially write to it (typically to clear
|
||||||
// the corresponding exception flag). By reading it separately, we
|
// the corresponding exception flag). By reading it separately, we
|
||||||
// ensure that the writes by the exception handler are maintained
|
// ensure that the writes by the exception handler are maintained
|
||||||
|
@ -199,13 +199,13 @@ LIBC_INLINE int convert_float_hex_exp(Writer *writer,
|
|||||||
constexpr cpp::string_view HEXADECIMAL_POINT(".");
|
constexpr cpp::string_view HEXADECIMAL_POINT(".");
|
||||||
|
|
||||||
// This is for the letter 'p' before the exponent.
|
// This is for the letter 'p' before the exponent.
|
||||||
const char exp_seperator = a + ('p' - 'a');
|
const char exp_separator = a + ('p' - 'a');
|
||||||
constexpr int EXP_SEPERATOR_LEN = 1;
|
constexpr int EXP_SEPARATOR_LEN = 1;
|
||||||
|
|
||||||
padding = static_cast<int>(to_conv.min_width - (sign_char > 0 ? 1 : 0) -
|
padding = static_cast<int>(to_conv.min_width - (sign_char > 0 ? 1 : 0) -
|
||||||
PREFIX_LEN - mant_digits - trailing_zeroes -
|
PREFIX_LEN - mant_digits - trailing_zeroes -
|
||||||
static_cast<int>(has_hexadecimal_point) -
|
static_cast<int>(has_hexadecimal_point) -
|
||||||
EXP_SEPERATOR_LEN - (EXP_LEN - exp_cur));
|
EXP_SEPARATOR_LEN - (EXP_LEN - exp_cur));
|
||||||
if (padding < 0)
|
if (padding < 0)
|
||||||
padding = 0;
|
padding = 0;
|
||||||
|
|
||||||
@ -223,7 +223,7 @@ LIBC_INLINE int convert_float_hex_exp(Writer *writer,
|
|||||||
RET_IF_RESULT_NEGATIVE(writer->write({mant_buffer + 1, mant_digits - 1}));
|
RET_IF_RESULT_NEGATIVE(writer->write({mant_buffer + 1, mant_digits - 1}));
|
||||||
if (trailing_zeroes > 0)
|
if (trailing_zeroes > 0)
|
||||||
RET_IF_RESULT_NEGATIVE(writer->write('0', trailing_zeroes));
|
RET_IF_RESULT_NEGATIVE(writer->write('0', trailing_zeroes));
|
||||||
RET_IF_RESULT_NEGATIVE(writer->write(exp_seperator));
|
RET_IF_RESULT_NEGATIVE(writer->write(exp_separator));
|
||||||
RET_IF_RESULT_NEGATIVE(
|
RET_IF_RESULT_NEGATIVE(
|
||||||
writer->write({exp_buffer + exp_cur, EXP_LEN - exp_cur}));
|
writer->write({exp_buffer + exp_cur, EXP_LEN - exp_cur}));
|
||||||
if (padding > 0)
|
if (padding > 0)
|
||||||
@ -247,7 +247,7 @@ LIBC_INLINE int convert_float_hex_exp(Writer *writer,
|
|||||||
RET_IF_RESULT_NEGATIVE(writer->write({mant_buffer + 1, mant_digits - 1}));
|
RET_IF_RESULT_NEGATIVE(writer->write({mant_buffer + 1, mant_digits - 1}));
|
||||||
if (trailing_zeroes > 0)
|
if (trailing_zeroes > 0)
|
||||||
RET_IF_RESULT_NEGATIVE(writer->write('0', trailing_zeroes));
|
RET_IF_RESULT_NEGATIVE(writer->write('0', trailing_zeroes));
|
||||||
RET_IF_RESULT_NEGATIVE(writer->write(exp_seperator));
|
RET_IF_RESULT_NEGATIVE(writer->write(exp_separator));
|
||||||
RET_IF_RESULT_NEGATIVE(
|
RET_IF_RESULT_NEGATIVE(
|
||||||
writer->write({exp_buffer + exp_cur, EXP_LEN - exp_cur}));
|
writer->write({exp_buffer + exp_cur, EXP_LEN - exp_cur}));
|
||||||
}
|
}
|
||||||
|
@ -143,7 +143,7 @@ int main(int argc, char *argv[]) {
|
|||||||
int fails = 0;
|
int fails = 0;
|
||||||
|
|
||||||
// Bitdiffs are cases where the expected result and actual result only differ
|
// Bitdiffs are cases where the expected result and actual result only differ
|
||||||
// by +/- the least significant bit. They are tracked seperately from larger
|
// by +/- the least significant bit. They are tracked separately from larger
|
||||||
// failures since a bitdiff is most likely the result of a rounding error, and
|
// failures since a bitdiff is most likely the result of a rounding error, and
|
||||||
// splitting them off makes them easier to track down.
|
// splitting them off makes them easier to track down.
|
||||||
int bitdiffs = 0;
|
int bitdiffs = 0;
|
||||||
|
@ -161,7 +161,7 @@
|
|||||||
; DIS-EMPTY:
|
; DIS-EMPTY:
|
||||||
; DIS-NEXT: end
|
; DIS-NEXT: end
|
||||||
|
|
||||||
; In PIC mode __wasm_apply_data_relocs is export seperatly to __wasm_call_ctors
|
; In PIC mode __wasm_apply_data_relocs is export separatly to __wasm_call_ctors
|
||||||
; PIC-DIS: <__wasm_apply_data_relocs>:
|
; PIC-DIS: <__wasm_apply_data_relocs>:
|
||||||
; PIC-DIS-EMPTY:
|
; PIC-DIS-EMPTY:
|
||||||
|
|
||||||
|
@ -92,7 +92,7 @@ public:
|
|||||||
lldb::addr_t func_load_addr, lldb::addr_t file_addr,
|
lldb::addr_t func_load_addr, lldb::addr_t file_addr,
|
||||||
ABI *abi) const;
|
ABI *abi) const;
|
||||||
|
|
||||||
/// Dump all locaitons with each seperated by new line.
|
/// Dump all locaitons with each separated by new line.
|
||||||
void GetDescription(Stream *s, lldb::DescriptionLevel level, ABI *abi) const;
|
void GetDescription(Stream *s, lldb::DescriptionLevel level, ABI *abi) const;
|
||||||
|
|
||||||
/// Search for a load address in the dwarf location list
|
/// Search for a load address in the dwarf location list
|
||||||
|
@ -103,7 +103,7 @@ public:
|
|||||||
// transport.
|
// transport.
|
||||||
virtual size_t GetTagSizeInBytes() const = 0;
|
virtual size_t GetTagSizeInBytes() const = 0;
|
||||||
|
|
||||||
// Unpack tags from their stored format (e.g. gdb qMemTags data) into seperate
|
// Unpack tags from their stored format (e.g. gdb qMemTags data) into separate
|
||||||
// tags.
|
// tags.
|
||||||
//
|
//
|
||||||
// Checks that each tag is within the expected value range and if granules is
|
// Checks that each tag is within the expected value range and if granules is
|
||||||
|
@ -388,7 +388,7 @@ NativeRegisterContextLinux_arm64::ReadRegister(const RegisterInfo *reg_info,
|
|||||||
return error;
|
return error;
|
||||||
}
|
}
|
||||||
|
|
||||||
// ZA is part of the SME set but uses a seperate member buffer for
|
// ZA is part of the SME set but uses a separate member buffer for
|
||||||
// storage. Therefore its effective byte offset is always 0 even if it
|
// storage. Therefore its effective byte offset is always 0 even if it
|
||||||
// isn't 0 within the SME register set.
|
// isn't 0 within the SME register set.
|
||||||
src = (uint8_t *)GetZABuffer() + GetZAHeaderSize();
|
src = (uint8_t *)GetZABuffer() + GetZAHeaderSize();
|
||||||
|
@ -36,7 +36,7 @@ set(LLDB_TEST_ARCH
|
|||||||
# Users can override LLDB_TEST_USER_ARGS to specify arbitrary arguments to pass to the script
|
# Users can override LLDB_TEST_USER_ARGS to specify arbitrary arguments to pass to the script
|
||||||
set(LLDB_TEST_USER_ARGS
|
set(LLDB_TEST_USER_ARGS
|
||||||
""
|
""
|
||||||
CACHE STRING "Specify additional arguments to pass to test runner. Seperate \
|
CACHE STRING "Specify additional arguments to pass to test runner. Separate \
|
||||||
items with \";\". For example: '-C;gcc;-C;clang;-A;i386;-A;x86_64'")
|
items with \";\". For example: '-C;gcc;-C;clang;-A;i386;-A;x86_64'")
|
||||||
|
|
||||||
set(LLDB_TEST_COMMON_ARGS_VAR
|
set(LLDB_TEST_COMMON_ARGS_VAR
|
||||||
|
@ -170,7 +170,7 @@ class TestGdbRemoteMemoryTagging(gdbremote_testcase.GdbRemoteTestCaseBase):
|
|||||||
self.check_tag_write("{:x},20".format(buf_address), "E03")
|
self.check_tag_write("{:x},20".format(buf_address), "E03")
|
||||||
# Missing data
|
# Missing data
|
||||||
self.check_tag_write("{:x},20:1".format(buf_address), "E03")
|
self.check_tag_write("{:x},20:1".format(buf_address), "E03")
|
||||||
# Zero length write must still include seperator after type
|
# Zero length write must still include separator after type
|
||||||
self.check_tag_write("{:x},0:1".format(buf_address), "E03")
|
self.check_tag_write("{:x},0:1".format(buf_address), "E03")
|
||||||
# Empty address
|
# Empty address
|
||||||
self.check_tag_write(",10:1:01", "E03")
|
self.check_tag_write(",10:1:01", "E03")
|
||||||
|
@ -51,7 +51,7 @@
|
|||||||
#
|
#
|
||||||
# DW_AT_location (DW_OP_constu 0x64a40101, DW_OP_stack_value)
|
# DW_AT_location (DW_OP_constu 0x64a40101, DW_OP_stack_value)
|
||||||
#
|
#
|
||||||
# to work-around a seperate bug.
|
# to work-around a separate bug.
|
||||||
|
|
||||||
.zerofill __DATA,__bss,__type_anchor,4,2 ## @_type_anchor
|
.zerofill __DATA,__bss,__type_anchor,4,2 ## @_type_anchor
|
||||||
.zerofill __DATA,__bss,_ug.0,1,2 ## @ug.0
|
.zerofill __DATA,__bss,_ug.0,1,2 ## @ug.0
|
||||||
|
@ -43,7 +43,7 @@ public:
|
|||||||
/// For a machine instruction \p MI, adds all register units used in
|
/// For a machine instruction \p MI, adds all register units used in
|
||||||
/// \p UsedRegUnits and defined or clobbered in \p ModifiedRegUnits. This is
|
/// \p UsedRegUnits and defined or clobbered in \p ModifiedRegUnits. This is
|
||||||
/// useful when walking over a range of instructions to track registers
|
/// useful when walking over a range of instructions to track registers
|
||||||
/// used or defined seperately.
|
/// used or defined separately.
|
||||||
static void accumulateUsedDefed(const MachineInstr &MI,
|
static void accumulateUsedDefed(const MachineInstr &MI,
|
||||||
LiveRegUnits &ModifiedRegUnits,
|
LiveRegUnits &ModifiedRegUnits,
|
||||||
LiveRegUnits &UsedRegUnits,
|
LiveRegUnits &UsedRegUnits,
|
||||||
|
@ -46,7 +46,7 @@ public:
|
|||||||
}
|
}
|
||||||
|
|
||||||
/// Implement target specific parsing of immediate mnemonics. The mnemonic is
|
/// Implement target specific parsing of immediate mnemonics. The mnemonic is
|
||||||
/// dot seperated strings.
|
/// dot separated strings.
|
||||||
virtual bool parseImmMnemonic(const unsigned OpCode, const unsigned OpIdx,
|
virtual bool parseImmMnemonic(const unsigned OpCode, const unsigned OpIdx,
|
||||||
StringRef Src, int64_t &Imm,
|
StringRef Src, int64_t &Imm,
|
||||||
ErrorCallbackType ErrorCallback) const {
|
ErrorCallbackType ErrorCallback) const {
|
||||||
|
@ -393,7 +393,7 @@ protected:
|
|||||||
/// for ELF targets. Defaults to true.
|
/// for ELF targets. Defaults to true.
|
||||||
bool HasSingleParameterDotFile = true;
|
bool HasSingleParameterDotFile = true;
|
||||||
|
|
||||||
/// True if the target has a four strings .file directive, strings seperated
|
/// True if the target has a four strings .file directive, strings separated
|
||||||
/// by comma. Defaults to false.
|
/// by comma. Defaults to false.
|
||||||
bool HasFourStringsDotFile = false;
|
bool HasFourStringsDotFile = false;
|
||||||
|
|
||||||
|
@ -61,7 +61,7 @@ class ListeningSocket {
|
|||||||
std::atomic<int> FD;
|
std::atomic<int> FD;
|
||||||
std::string SocketPath; // Not modified after construction
|
std::string SocketPath; // Not modified after construction
|
||||||
|
|
||||||
/// If a seperate thread calls ListeningSocket::shutdown, the ListeningSocket
|
/// If a separate thread calls ListeningSocket::shutdown, the ListeningSocket
|
||||||
/// file descriptor (FD) could be closed while ::poll is waiting for it to be
|
/// file descriptor (FD) could be closed while ::poll is waiting for it to be
|
||||||
/// ready to perform a I/O operations. ::poll will continue to block even
|
/// ready to perform a I/O operations. ::poll will continue to block even
|
||||||
/// after FD is closed so use a self-pipe mechanism to get ::poll to return
|
/// after FD is closed so use a self-pipe mechanism to get ::poll to return
|
||||||
|
@ -220,7 +220,7 @@ private:
|
|||||||
// DIGlobalVariableExpression referencing the DIGlobalVariable.
|
// DIGlobalVariableExpression referencing the DIGlobalVariable.
|
||||||
DenseMap<const DIGlobalVariable *, uint64_t> CVGlobalVariableOffsets;
|
DenseMap<const DIGlobalVariable *, uint64_t> CVGlobalVariableOffsets;
|
||||||
|
|
||||||
// Map used to seperate variables according to the lexical scope they belong
|
// Map used to separate variables according to the lexical scope they belong
|
||||||
// in. This is populated by recordLocalVariable() before
|
// in. This is populated by recordLocalVariable() before
|
||||||
// collectLexicalBlocks() separates the variables between the FunctionInfo
|
// collectLexicalBlocks() separates the variables between the FunctionInfo
|
||||||
// and LexicalBlocks.
|
// and LexicalBlocks.
|
||||||
|
@ -2493,7 +2493,7 @@ removeRedundantDbgLocsUsingBackwardScan(const BasicBlock *BB,
|
|||||||
bool Changed = false;
|
bool Changed = false;
|
||||||
SmallDenseMap<DebugAggregate, BitVector> VariableDefinedBytes;
|
SmallDenseMap<DebugAggregate, BitVector> VariableDefinedBytes;
|
||||||
// Scan over the entire block, not just over the instructions mapped by
|
// Scan over the entire block, not just over the instructions mapped by
|
||||||
// FnVarLocs, because wedges in FnVarLocs may only be seperated by debug
|
// FnVarLocs, because wedges in FnVarLocs may only be separated by debug
|
||||||
// instructions.
|
// instructions.
|
||||||
for (const Instruction &I : reverse(*BB)) {
|
for (const Instruction &I : reverse(*BB)) {
|
||||||
if (!isa<DbgVariableIntrinsic>(I)) {
|
if (!isa<DbgVariableIntrinsic>(I)) {
|
||||||
@ -2593,7 +2593,7 @@ removeRedundantDbgLocsUsingForwardScan(const BasicBlock *BB,
|
|||||||
VariableMap;
|
VariableMap;
|
||||||
|
|
||||||
// Scan over the entire block, not just over the instructions mapped by
|
// Scan over the entire block, not just over the instructions mapped by
|
||||||
// FnVarLocs, because wedges in FnVarLocs may only be seperated by debug
|
// FnVarLocs, because wedges in FnVarLocs may only be separated by debug
|
||||||
// instructions.
|
// instructions.
|
||||||
for (const Instruction &I : *BB) {
|
for (const Instruction &I : *BB) {
|
||||||
// Get the defs that come just before this instruction.
|
// Get the defs that come just before this instruction.
|
||||||
@ -2681,7 +2681,7 @@ removeUndefDbgLocsFromEntryBlock(const BasicBlock *BB,
|
|||||||
DenseMap<DebugVariable, std::pair<Value *, DIExpression *>> VariableMap;
|
DenseMap<DebugVariable, std::pair<Value *, DIExpression *>> VariableMap;
|
||||||
|
|
||||||
// Scan over the entire block, not just over the instructions mapped by
|
// Scan over the entire block, not just over the instructions mapped by
|
||||||
// FnVarLocs, because wedges in FnVarLocs may only be seperated by debug
|
// FnVarLocs, because wedges in FnVarLocs may only be separated by debug
|
||||||
// instructions.
|
// instructions.
|
||||||
for (const Instruction &I : *BB) {
|
for (const Instruction &I : *BB) {
|
||||||
// Get the defs that come just before this instruction.
|
// Get the defs that come just before this instruction.
|
||||||
|
@ -6606,7 +6606,7 @@ void SelectionDAGBuilder::visitIntrinsicCall(const CallInst &I,
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
case Intrinsic::dbg_assign: {
|
case Intrinsic::dbg_assign: {
|
||||||
// Debug intrinsics are handled seperately in assignment tracking mode.
|
// Debug intrinsics are handled separately in assignment tracking mode.
|
||||||
if (AssignmentTrackingEnabled)
|
if (AssignmentTrackingEnabled)
|
||||||
return;
|
return;
|
||||||
// If assignment tracking hasn't been enabled then fall through and treat
|
// If assignment tracking hasn't been enabled then fall through and treat
|
||||||
@ -6614,7 +6614,7 @@ void SelectionDAGBuilder::visitIntrinsicCall(const CallInst &I,
|
|||||||
[[fallthrough]];
|
[[fallthrough]];
|
||||||
}
|
}
|
||||||
case Intrinsic::dbg_value: {
|
case Intrinsic::dbg_value: {
|
||||||
// Debug intrinsics are handled seperately in assignment tracking mode.
|
// Debug intrinsics are handled separately in assignment tracking mode.
|
||||||
if (AssignmentTrackingEnabled)
|
if (AssignmentTrackingEnabled)
|
||||||
return;
|
return;
|
||||||
const DbgValueInst &DI = cast<DbgValueInst>(I);
|
const DbgValueInst &DI = cast<DbgValueInst>(I);
|
||||||
|
@ -624,7 +624,7 @@ Expected<std::unique_ptr<Expression>> Pattern::parseNumericSubstitutionBlock(
|
|||||||
ExpressionFormat ExplicitFormat = ExpressionFormat();
|
ExpressionFormat ExplicitFormat = ExpressionFormat();
|
||||||
unsigned Precision = 0;
|
unsigned Precision = 0;
|
||||||
|
|
||||||
// Parse format specifier (NOTE: ',' is also an argument seperator).
|
// Parse format specifier (NOTE: ',' is also an argument separator).
|
||||||
size_t FormatSpecEnd = Expr.find(',');
|
size_t FormatSpecEnd = Expr.find(',');
|
||||||
size_t FunctionStart = Expr.find('(');
|
size_t FunctionStart = Expr.find('(');
|
||||||
if (FormatSpecEnd != StringRef::npos && FormatSpecEnd < FunctionStart) {
|
if (FormatSpecEnd != StringRef::npos && FormatSpecEnd < FunctionStart) {
|
||||||
|
@ -2010,7 +2010,7 @@ bool calculateFragmentIntersectImpl(
|
|||||||
// SliceSizeInBits=32, Dest=%dest, Assign=dbg.assign)
|
// SliceSizeInBits=32, Dest=%dest, Assign=dbg.assign)
|
||||||
//
|
//
|
||||||
// Drawing the store (s) in memory followed by the shortened version ($),
|
// Drawing the store (s) in memory followed by the shortened version ($),
|
||||||
// then the dbg.assign (d), with the fragment information on a seperate scale
|
// then the dbg.assign (d), with the fragment information on a separate scale
|
||||||
// underneath:
|
// underneath:
|
||||||
//
|
//
|
||||||
// Memory
|
// Memory
|
||||||
|
@ -146,7 +146,7 @@ void MCPseudoProbeInlineTree::emit(MCObjectStreamer *MCOS,
|
|||||||
dbgs() << "Group [\n";
|
dbgs() << "Group [\n";
|
||||||
MCPseudoProbeTable::DdgPrintIndent += 2;
|
MCPseudoProbeTable::DdgPrintIndent += 2;
|
||||||
});
|
});
|
||||||
assert(!isRoot() && "Root should be handled seperately");
|
assert(!isRoot() && "Root should be handled separately");
|
||||||
|
|
||||||
// Emit probes grouped by GUID.
|
// Emit probes grouped by GUID.
|
||||||
LLVM_DEBUG({
|
LLVM_DEBUG({
|
||||||
|
@ -1373,7 +1373,7 @@ std::error_code RedirectingFileSystem::makeAbsolute(SmallVectorImpl<char> &Path)
|
|||||||
llvm::sys::path::is_absolute(Path,
|
llvm::sys::path::is_absolute(Path,
|
||||||
llvm::sys::path::Style::windows_backslash))
|
llvm::sys::path::Style::windows_backslash))
|
||||||
// This covers windows absolute path with forward slash as well, as the
|
// This covers windows absolute path with forward slash as well, as the
|
||||||
// forward slashes are treated as path seperation in llvm::path
|
// forward slashes are treated as path separation in llvm::path
|
||||||
// regardless of what path::Style is used.
|
// regardless of what path::Style is used.
|
||||||
return {};
|
return {};
|
||||||
|
|
||||||
|
@ -266,7 +266,7 @@ void ListeningSocket::shutdown() {
|
|||||||
::close(ObservedFD);
|
::close(ObservedFD);
|
||||||
::unlink(SocketPath.c_str());
|
::unlink(SocketPath.c_str());
|
||||||
|
|
||||||
// Ensure ::poll returns if shutdown is called by a seperate thread
|
// Ensure ::poll returns if shutdown is called by a separate thread
|
||||||
char Byte = 'A';
|
char Byte = 'A';
|
||||||
ssize_t written = ::write(PipeFD[1], &Byte, 1);
|
ssize_t written = ::write(PipeFD[1], &Byte, 1);
|
||||||
|
|
||||||
|
@ -13709,7 +13709,7 @@ static SDValue PerformADDVecReduce(SDNode *N, SelectionDAG &DAG,
|
|||||||
// t2: i64 = build_pair t1, t1:1
|
// t2: i64 = build_pair t1, t1:1
|
||||||
// t3: i64 = add t2, y
|
// t3: i64 = add t2, y
|
||||||
// Otherwise we try to push the add up above VADDLVAx, to potentially allow
|
// Otherwise we try to push the add up above VADDLVAx, to potentially allow
|
||||||
// the add to be simplified seperately.
|
// the add to be simplified separately.
|
||||||
// We also need to check for sext / zext and commutitive adds.
|
// We also need to check for sext / zext and commutitive adds.
|
||||||
auto MakeVecReduce = [&](unsigned Opcode, unsigned OpcodeA, SDValue NA,
|
auto MakeVecReduce = [&](unsigned Opcode, unsigned OpcodeA, SDValue NA,
|
||||||
SDValue NB) {
|
SDValue NB) {
|
||||||
|
@ -135,7 +135,7 @@ public:
|
|||||||
bool isPushable(const MachineFunction &MF) const {
|
bool isPushable(const MachineFunction &MF) const {
|
||||||
// We cannot use fixed locations for the callee saved spill slots if the
|
// We cannot use fixed locations for the callee saved spill slots if the
|
||||||
// function uses a varargs save area.
|
// function uses a varargs save area.
|
||||||
// TODO: Use a seperate placement for vararg registers to enable Zcmp.
|
// TODO: Use a separate placement for vararg registers to enable Zcmp.
|
||||||
return MF.getSubtarget<RISCVSubtarget>().hasStdExtZcmp() &&
|
return MF.getSubtarget<RISCVSubtarget>().hasStdExtZcmp() &&
|
||||||
!MF.getTarget().Options.DisableFramePointerElim(MF) &&
|
!MF.getTarget().Options.DisableFramePointerElim(MF) &&
|
||||||
VarArgsSaveSize == 0;
|
VarArgsSaveSize == 0;
|
||||||
|
@ -757,7 +757,7 @@ RISCVISAInfo::parseArchString(StringRef Arch, bool EnableExperimentalExtension,
|
|||||||
Ext, SeenExtMap, IgnoreUnknown, EnableExperimentalExtension,
|
Ext, SeenExtMap, IgnoreUnknown, EnableExperimentalExtension,
|
||||||
ExperimentalExtensionVersionCheck))
|
ExperimentalExtensionVersionCheck))
|
||||||
return std::move(E);
|
return std::move(E);
|
||||||
// Multi-letter extension must be seperate following extension with
|
// Multi-letter extension must be separate following extension with
|
||||||
// underscore
|
// underscore
|
||||||
break;
|
break;
|
||||||
} else {
|
} else {
|
||||||
|
@ -215,7 +215,7 @@ llvm::MachO::parseAliasList(std::unique_ptr<llvm::MemoryBuffer> &Buffer) {
|
|||||||
if (L.starts_with("#"))
|
if (L.starts_with("#"))
|
||||||
continue;
|
continue;
|
||||||
StringRef Symbol, Remain, Alias;
|
StringRef Symbol, Remain, Alias;
|
||||||
// Base symbol is seperated by whitespace.
|
// Base symbol is separated by whitespace.
|
||||||
std::tie(Symbol, Remain) = getToken(L);
|
std::tie(Symbol, Remain) = getToken(L);
|
||||||
// The Alias symbol ends before a comment or EOL.
|
// The Alias symbol ends before a comment or EOL.
|
||||||
std::tie(Alias, Remain) = getToken(Remain, "#");
|
std::tie(Alias, Remain) = getToken(Remain, "#");
|
||||||
|
@ -132,13 +132,13 @@ static cl::opt<bool>
|
|||||||
#ifndef NDEBUG
|
#ifndef NDEBUG
|
||||||
static cl::list<std::string>
|
static cl::list<std::string>
|
||||||
SeedAllowList("attributor-seed-allow-list", cl::Hidden,
|
SeedAllowList("attributor-seed-allow-list", cl::Hidden,
|
||||||
cl::desc("Comma seperated list of attribute names that are "
|
cl::desc("Comma separated list of attribute names that are "
|
||||||
"allowed to be seeded."),
|
"allowed to be seeded."),
|
||||||
cl::CommaSeparated);
|
cl::CommaSeparated);
|
||||||
|
|
||||||
static cl::list<std::string> FunctionSeedAllowList(
|
static cl::list<std::string> FunctionSeedAllowList(
|
||||||
"attributor-function-seed-allow-list", cl::Hidden,
|
"attributor-function-seed-allow-list", cl::Hidden,
|
||||||
cl::desc("Comma seperated list of function names that are "
|
cl::desc("Comma separated list of function names that are "
|
||||||
"allowed to be seeded."),
|
"allowed to be seeded."),
|
||||||
cl::CommaSeparated);
|
cl::CommaSeparated);
|
||||||
#endif
|
#endif
|
||||||
|
@ -343,7 +343,7 @@ uint32_t SampleProfileProber::getCallsiteId(const Instruction *Call) const {
|
|||||||
void SampleProfileProber::instrumentOneFunc(Function &F, TargetMachine *TM) {
|
void SampleProfileProber::instrumentOneFunc(Function &F, TargetMachine *TM) {
|
||||||
Module *M = F.getParent();
|
Module *M = F.getParent();
|
||||||
MDBuilder MDB(F.getContext());
|
MDBuilder MDB(F.getContext());
|
||||||
// Since the GUID from probe desc and inline stack are computed seperately, we
|
// Since the GUID from probe desc and inline stack are computed separately, we
|
||||||
// need to make sure their names are consistent, so here also use the name
|
// need to make sure their names are consistent, so here also use the name
|
||||||
// from debug info.
|
// from debug info.
|
||||||
StringRef FName = F.getName();
|
StringRef FName = F.getName();
|
||||||
|
@ -1323,7 +1323,7 @@ static void findBasePointers(DominatorTree &DT, DefiningValueMapTy &DVCache,
|
|||||||
IsKnownBaseMapTy &KnownBases) {
|
IsKnownBaseMapTy &KnownBases) {
|
||||||
StatepointLiveSetTy PotentiallyDerivedPointers = result.LiveSet;
|
StatepointLiveSetTy PotentiallyDerivedPointers = result.LiveSet;
|
||||||
// We assume that all pointers passed to deopt are base pointers; as an
|
// We assume that all pointers passed to deopt are base pointers; as an
|
||||||
// optimization, we can use this to avoid seperately materializing the base
|
// optimization, we can use this to avoid separately materializing the base
|
||||||
// pointer graph. This is only relevant since we're very conservative about
|
// pointer graph. This is only relevant since we're very conservative about
|
||||||
// generating new conflict nodes during base pointer insertion. If we were
|
// generating new conflict nodes during base pointer insertion. If we were
|
||||||
// smarter there, this would be irrelevant.
|
// smarter there, this would be irrelevant.
|
||||||
|
@ -849,7 +849,7 @@ bool llvm::UnrollRuntimeLoopRemainder(
|
|||||||
for (unsigned i = 0; i < oldNumOperands; i++){
|
for (unsigned i = 0; i < oldNumOperands; i++){
|
||||||
auto *PredBB =PN.getIncomingBlock(i);
|
auto *PredBB =PN.getIncomingBlock(i);
|
||||||
if (PredBB == Latch)
|
if (PredBB == Latch)
|
||||||
// The latch exit is handled seperately, see connectX
|
// The latch exit is handled separately, see connectX
|
||||||
continue;
|
continue;
|
||||||
if (!L->contains(PredBB))
|
if (!L->contains(PredBB))
|
||||||
// Even if we had dedicated exits, the code above inserted an
|
// Even if we had dedicated exits, the code above inserted an
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
; NOTE: Assertions have been autogenerated by utils/update_mir_test_checks.py
|
; NOTE: Assertions have been autogenerated by utils/update_mir_test_checks.py
|
||||||
; RUN: llc < %s -mtriple=x86_64-unknown-unknown -mattr=+amx-int8 -mattr=+avx512f -verify-machineinstrs -stop-after tileconfig | FileCheck %s
|
; RUN: llc < %s -mtriple=x86_64-unknown-unknown -mattr=+amx-int8 -mattr=+avx512f -verify-machineinstrs -stop-after tileconfig | FileCheck %s
|
||||||
|
|
||||||
; Test the tile register is allocated in a seperate pass.
|
; Test the tile register is allocated in a separate pass.
|
||||||
|
|
||||||
define i16 @foo(i32 noundef %t, i16 %row, i16 %col) nounwind {
|
define i16 @foo(i32 noundef %t, i16 %row, i16 %col) nounwind {
|
||||||
; CHECK-LABEL: name: foo
|
; CHECK-LABEL: name: foo
|
||||||
|
@ -159,7 +159,7 @@ define i32 @shl_const1_self_select(i32 %a0, i32 %a1, i32 %a2, i32 %a3) {
|
|||||||
ret i32 %r
|
ret i32 %r
|
||||||
}
|
}
|
||||||
|
|
||||||
; ashr by variable - use seperate test
|
; ashr by variable - use separate test
|
||||||
define i32 @ashr_var(i32 %a0, i32 %a1, i32 %a2, i32 %a3) {
|
define i32 @ashr_var(i32 %a0, i32 %a1, i32 %a2, i32 %a3) {
|
||||||
; CHECK-LABEL: ashr_var:
|
; CHECK-LABEL: ashr_var:
|
||||||
; CHECK: # %bb.0:
|
; CHECK: # %bb.0:
|
||||||
@ -176,7 +176,7 @@ define i32 @ashr_var(i32 %a0, i32 %a1, i32 %a2, i32 %a3) {
|
|||||||
ret i32 %r
|
ret i32 %r
|
||||||
}
|
}
|
||||||
|
|
||||||
; lshr by variable - use seperate test
|
; lshr by variable - use separate test
|
||||||
define i32 @lshr_var(i32 %a0, i32 %a1, i32 %a2, i32 %a3) {
|
define i32 @lshr_var(i32 %a0, i32 %a1, i32 %a2, i32 %a3) {
|
||||||
; CHECK-LABEL: lshr_var:
|
; CHECK-LABEL: lshr_var:
|
||||||
; CHECK: # %bb.0:
|
; CHECK: # %bb.0:
|
||||||
@ -193,7 +193,7 @@ define i32 @lshr_var(i32 %a0, i32 %a1, i32 %a2, i32 %a3) {
|
|||||||
ret i32 %r
|
ret i32 %r
|
||||||
}
|
}
|
||||||
|
|
||||||
; shl by variable - use seperate test
|
; shl by variable - use separate test
|
||||||
define i32 @shl_var(i32 %a0, i32 %a1, i32 %a2, i32 %a3) {
|
define i32 @shl_var(i32 %a0, i32 %a1, i32 %a2, i32 %a3) {
|
||||||
; CHECK-LABEL: shl_var:
|
; CHECK-LABEL: shl_var:
|
||||||
; CHECK: # %bb.0:
|
; CHECK: # %bb.0:
|
||||||
@ -210,7 +210,7 @@ define i32 @shl_var(i32 %a0, i32 %a1, i32 %a2, i32 %a3) {
|
|||||||
ret i32 %r
|
ret i32 %r
|
||||||
}
|
}
|
||||||
|
|
||||||
; ashr by variable and using result - use seperate test
|
; ashr by variable and using result - use separate test
|
||||||
define i32 @ashr_var_self_select(i32 %a0, i32 %a1, i32 %a2, i32 %a3) {
|
define i32 @ashr_var_self_select(i32 %a0, i32 %a1, i32 %a2, i32 %a3) {
|
||||||
; CHECK-LABEL: ashr_var_self_select:
|
; CHECK-LABEL: ashr_var_self_select:
|
||||||
; CHECK: # %bb.0:
|
; CHECK: # %bb.0:
|
||||||
@ -226,7 +226,7 @@ define i32 @ashr_var_self_select(i32 %a0, i32 %a1, i32 %a2, i32 %a3) {
|
|||||||
ret i32 %r
|
ret i32 %r
|
||||||
}
|
}
|
||||||
|
|
||||||
; lshr by variable and using result - use seperate test
|
; lshr by variable and using result - use separate test
|
||||||
define i32 @lshr_var_self_select(i32 %a0, i32 %a1, i32 %a2, i32 %a3) {
|
define i32 @lshr_var_self_select(i32 %a0, i32 %a1, i32 %a2, i32 %a3) {
|
||||||
; CHECK-LABEL: lshr_var_self_select:
|
; CHECK-LABEL: lshr_var_self_select:
|
||||||
; CHECK: # %bb.0:
|
; CHECK: # %bb.0:
|
||||||
@ -242,7 +242,7 @@ define i32 @lshr_var_self_select(i32 %a0, i32 %a1, i32 %a2, i32 %a3) {
|
|||||||
ret i32 %r
|
ret i32 %r
|
||||||
}
|
}
|
||||||
|
|
||||||
; shl by variable and using result - use seperate test
|
; shl by variable and using result - use separate test
|
||||||
define i32 @shl_var_self_select(i32 %a0, i32 %a1, i32 %a2, i32 %a3) {
|
define i32 @shl_var_self_select(i32 %a0, i32 %a1, i32 %a2, i32 %a3) {
|
||||||
; CHECK-LABEL: shl_var_self_select:
|
; CHECK-LABEL: shl_var_self_select:
|
||||||
; CHECK: # %bb.0:
|
; CHECK: # %bb.0:
|
||||||
@ -258,7 +258,7 @@ define i32 @shl_var_self_select(i32 %a0, i32 %a1, i32 %a2, i32 %a3) {
|
|||||||
ret i32 %r
|
ret i32 %r
|
||||||
}
|
}
|
||||||
|
|
||||||
; ashr by non-zero variable - use seperate test
|
; ashr by non-zero variable - use separate test
|
||||||
define i32 @ashr_var_amt_never_zero(i32 %a0, i32 %a1, i32 %a2, i32 %a3) {
|
define i32 @ashr_var_amt_never_zero(i32 %a0, i32 %a1, i32 %a2, i32 %a3) {
|
||||||
; CHECK-LABEL: ashr_var_amt_never_zero:
|
; CHECK-LABEL: ashr_var_amt_never_zero:
|
||||||
; CHECK: # %bb.0:
|
; CHECK: # %bb.0:
|
||||||
@ -275,7 +275,7 @@ define i32 @ashr_var_amt_never_zero(i32 %a0, i32 %a1, i32 %a2, i32 %a3) {
|
|||||||
ret i32 %r
|
ret i32 %r
|
||||||
}
|
}
|
||||||
|
|
||||||
; lshr by non-zero variable - use seperate test
|
; lshr by non-zero variable - use separate test
|
||||||
define i32 @lshr_var_amt_never_zero(i32 %a0, i32 %a1, i32 %a2, i32 %a3) {
|
define i32 @lshr_var_amt_never_zero(i32 %a0, i32 %a1, i32 %a2, i32 %a3) {
|
||||||
; CHECK-LABEL: lshr_var_amt_never_zero:
|
; CHECK-LABEL: lshr_var_amt_never_zero:
|
||||||
; CHECK: # %bb.0:
|
; CHECK: # %bb.0:
|
||||||
@ -292,7 +292,7 @@ define i32 @lshr_var_amt_never_zero(i32 %a0, i32 %a1, i32 %a2, i32 %a3) {
|
|||||||
ret i32 %r
|
ret i32 %r
|
||||||
}
|
}
|
||||||
|
|
||||||
; shl by non-zero variable - use seperate test
|
; shl by non-zero variable - use separate test
|
||||||
define i32 @shl_var_amt_never_zero(i32 %a0, i32 %a1, i32 %a2, i32 %a3) {
|
define i32 @shl_var_amt_never_zero(i32 %a0, i32 %a1, i32 %a2, i32 %a3) {
|
||||||
; CHECK-LABEL: shl_var_amt_never_zero:
|
; CHECK-LABEL: shl_var_amt_never_zero:
|
||||||
; CHECK: # %bb.0:
|
; CHECK: # %bb.0:
|
||||||
@ -309,7 +309,7 @@ define i32 @shl_var_amt_never_zero(i32 %a0, i32 %a1, i32 %a2, i32 %a3) {
|
|||||||
ret i32 %r
|
ret i32 %r
|
||||||
}
|
}
|
||||||
|
|
||||||
; ashr by non-zero variable and using result - use seperate test
|
; ashr by non-zero variable and using result - use separate test
|
||||||
define i32 @ashr_var_self_select_amt_never_zero(i32 %a0, i32 %a1, i32 %a2, i32 %a3) {
|
define i32 @ashr_var_self_select_amt_never_zero(i32 %a0, i32 %a1, i32 %a2, i32 %a3) {
|
||||||
; CHECK-LABEL: ashr_var_self_select_amt_never_zero:
|
; CHECK-LABEL: ashr_var_self_select_amt_never_zero:
|
||||||
; CHECK: # %bb.0:
|
; CHECK: # %bb.0:
|
||||||
@ -325,7 +325,7 @@ define i32 @ashr_var_self_select_amt_never_zero(i32 %a0, i32 %a1, i32 %a2, i32 %
|
|||||||
ret i32 %r
|
ret i32 %r
|
||||||
}
|
}
|
||||||
|
|
||||||
; lshr by non-zero variable and using result - use seperate test
|
; lshr by non-zero variable and using result - use separate test
|
||||||
define i32 @lshr_var_self_select_amt_never_zero(i32 %a0, i32 %a1, i32 %a2, i32 %a3) {
|
define i32 @lshr_var_self_select_amt_never_zero(i32 %a0, i32 %a1, i32 %a2, i32 %a3) {
|
||||||
; CHECK-LABEL: lshr_var_self_select_amt_never_zero:
|
; CHECK-LABEL: lshr_var_self_select_amt_never_zero:
|
||||||
; CHECK: # %bb.0:
|
; CHECK: # %bb.0:
|
||||||
@ -341,7 +341,7 @@ define i32 @lshr_var_self_select_amt_never_zero(i32 %a0, i32 %a1, i32 %a2, i32 %
|
|||||||
ret i32 %r
|
ret i32 %r
|
||||||
}
|
}
|
||||||
|
|
||||||
; shl by non-zero variable and using result - use seperate test
|
; shl by non-zero variable and using result - use separate test
|
||||||
define i32 @shl_var_self_select_amt_never_zero(i32 %a0, i32 %a1, i32 %a2, i32 %a3) {
|
define i32 @shl_var_self_select_amt_never_zero(i32 %a0, i32 %a1, i32 %a2, i32 %a3) {
|
||||||
; CHECK-LABEL: shl_var_self_select_amt_never_zero:
|
; CHECK-LABEL: shl_var_self_select_amt_never_zero:
|
||||||
; CHECK: # %bb.0:
|
; CHECK: # %bb.0:
|
||||||
|
@ -158,7 +158,7 @@ define void @merge_2_v4f32_align32_mix_ntstore(ptr %a0, ptr %a1) nounwind {
|
|||||||
}
|
}
|
||||||
|
|
||||||
; AVX2 can't perform NT-load-ymm on 16-byte aligned memory.
|
; AVX2 can't perform NT-load-ymm on 16-byte aligned memory.
|
||||||
; Must be kept seperate as VMOVNTDQA xmm.
|
; Must be kept separate as VMOVNTDQA xmm.
|
||||||
define void @merge_2_v4f32_align16_ntload(ptr %a0, ptr %a1) nounwind {
|
define void @merge_2_v4f32_align16_ntload(ptr %a0, ptr %a1) nounwind {
|
||||||
; X86-LABEL: merge_2_v4f32_align16_ntload:
|
; X86-LABEL: merge_2_v4f32_align16_ntload:
|
||||||
; X86: # %bb.0:
|
; X86: # %bb.0:
|
||||||
@ -211,7 +211,7 @@ define void @merge_2_v4f32_align16_ntload(ptr %a0, ptr %a1) nounwind {
|
|||||||
}
|
}
|
||||||
|
|
||||||
; AVX can't perform NT-store-ymm on 16-byte aligned memory.
|
; AVX can't perform NT-store-ymm on 16-byte aligned memory.
|
||||||
; Must be kept seperate as VMOVNTPS xmm.
|
; Must be kept separate as VMOVNTPS xmm.
|
||||||
define void @merge_2_v4f32_align16_ntstore(ptr %a0, ptr %a1) nounwind {
|
define void @merge_2_v4f32_align16_ntstore(ptr %a0, ptr %a1) nounwind {
|
||||||
; X86-LABEL: merge_2_v4f32_align16_ntstore:
|
; X86-LABEL: merge_2_v4f32_align16_ntstore:
|
||||||
; X86: # %bb.0:
|
; X86: # %bb.0:
|
||||||
|
@ -171,7 +171,7 @@ define i32 @shl_const1_self_select(i32 %a0, i32 %a1, i32 %a2, i32 %a3) {
|
|||||||
ret i32 %r
|
ret i32 %r
|
||||||
}
|
}
|
||||||
|
|
||||||
; ashr by variable - use seperate test
|
; ashr by variable - use separate test
|
||||||
define i32 @ashr_var(i32 %a0, i32 %a1, i32 %a2, i32 %a3) {
|
define i32 @ashr_var(i32 %a0, i32 %a1, i32 %a2, i32 %a3) {
|
||||||
; CHECK-LABEL: ashr_var:
|
; CHECK-LABEL: ashr_var:
|
||||||
; CHECK: # %bb.0:
|
; CHECK: # %bb.0:
|
||||||
@ -188,7 +188,7 @@ define i32 @ashr_var(i32 %a0, i32 %a1, i32 %a2, i32 %a3) {
|
|||||||
ret i32 %r
|
ret i32 %r
|
||||||
}
|
}
|
||||||
|
|
||||||
; lshr by variable - use seperate test
|
; lshr by variable - use separate test
|
||||||
define i32 @lshr_var(i32 %a0, i32 %a1, i32 %a2, i32 %a3) {
|
define i32 @lshr_var(i32 %a0, i32 %a1, i32 %a2, i32 %a3) {
|
||||||
; CHECK-LABEL: lshr_var:
|
; CHECK-LABEL: lshr_var:
|
||||||
; CHECK: # %bb.0:
|
; CHECK: # %bb.0:
|
||||||
@ -205,7 +205,7 @@ define i32 @lshr_var(i32 %a0, i32 %a1, i32 %a2, i32 %a3) {
|
|||||||
ret i32 %r
|
ret i32 %r
|
||||||
}
|
}
|
||||||
|
|
||||||
; shl by variable - use seperate test
|
; shl by variable - use separate test
|
||||||
define i32 @shl_var(i32 %a0, i32 %a1, i32 %a2, i32 %a3) {
|
define i32 @shl_var(i32 %a0, i32 %a1, i32 %a2, i32 %a3) {
|
||||||
; CHECK-LABEL: shl_var:
|
; CHECK-LABEL: shl_var:
|
||||||
; CHECK: # %bb.0:
|
; CHECK: # %bb.0:
|
||||||
@ -222,7 +222,7 @@ define i32 @shl_var(i32 %a0, i32 %a1, i32 %a2, i32 %a3) {
|
|||||||
ret i32 %r
|
ret i32 %r
|
||||||
}
|
}
|
||||||
|
|
||||||
; ashr by variable and using result - use seperate test
|
; ashr by variable and using result - use separate test
|
||||||
define i32 @ashr_var_self_select(i32 %a0, i32 %a1, i32 %a2, i32 %a3) {
|
define i32 @ashr_var_self_select(i32 %a0, i32 %a1, i32 %a2, i32 %a3) {
|
||||||
; CHECK-LABEL: ashr_var_self_select:
|
; CHECK-LABEL: ashr_var_self_select:
|
||||||
; CHECK: # %bb.0:
|
; CHECK: # %bb.0:
|
||||||
@ -239,7 +239,7 @@ define i32 @ashr_var_self_select(i32 %a0, i32 %a1, i32 %a2, i32 %a3) {
|
|||||||
ret i32 %r
|
ret i32 %r
|
||||||
}
|
}
|
||||||
|
|
||||||
; lshr by variable and using result - use seperate test
|
; lshr by variable and using result - use separate test
|
||||||
define i32 @lshr_var_self_select(i32 %a0, i32 %a1, i32 %a2, i32 %a3) {
|
define i32 @lshr_var_self_select(i32 %a0, i32 %a1, i32 %a2, i32 %a3) {
|
||||||
; CHECK-LABEL: lshr_var_self_select:
|
; CHECK-LABEL: lshr_var_self_select:
|
||||||
; CHECK: # %bb.0:
|
; CHECK: # %bb.0:
|
||||||
@ -256,7 +256,7 @@ define i32 @lshr_var_self_select(i32 %a0, i32 %a1, i32 %a2, i32 %a3) {
|
|||||||
ret i32 %r
|
ret i32 %r
|
||||||
}
|
}
|
||||||
|
|
||||||
; shl by variable and using result - use seperate test
|
; shl by variable and using result - use separate test
|
||||||
define i32 @shl_var_self_select(i32 %a0, i32 %a1, i32 %a2, i32 %a3) {
|
define i32 @shl_var_self_select(i32 %a0, i32 %a1, i32 %a2, i32 %a3) {
|
||||||
; CHECK-LABEL: shl_var_self_select:
|
; CHECK-LABEL: shl_var_self_select:
|
||||||
; CHECK: # %bb.0:
|
; CHECK: # %bb.0:
|
||||||
@ -273,7 +273,7 @@ define i32 @shl_var_self_select(i32 %a0, i32 %a1, i32 %a2, i32 %a3) {
|
|||||||
ret i32 %r
|
ret i32 %r
|
||||||
}
|
}
|
||||||
|
|
||||||
; ashr by non-zero variable - use seperate test
|
; ashr by non-zero variable - use separate test
|
||||||
define i32 @ashr_var_amt_never_zero(i32 %a0, i32 %a1, i32 %a2, i32 %a3) {
|
define i32 @ashr_var_amt_never_zero(i32 %a0, i32 %a1, i32 %a2, i32 %a3) {
|
||||||
; CHECK-LABEL: ashr_var_amt_never_zero:
|
; CHECK-LABEL: ashr_var_amt_never_zero:
|
||||||
; CHECK: # %bb.0:
|
; CHECK: # %bb.0:
|
||||||
@ -292,7 +292,7 @@ define i32 @ashr_var_amt_never_zero(i32 %a0, i32 %a1, i32 %a2, i32 %a3) {
|
|||||||
ret i32 %r
|
ret i32 %r
|
||||||
}
|
}
|
||||||
|
|
||||||
; lshr by non-zero variable - use seperate test
|
; lshr by non-zero variable - use separate test
|
||||||
define i32 @lshr_var_amt_never_zero(i32 %a0, i32 %a1, i32 %a2, i32 %a3) {
|
define i32 @lshr_var_amt_never_zero(i32 %a0, i32 %a1, i32 %a2, i32 %a3) {
|
||||||
; CHECK-LABEL: lshr_var_amt_never_zero:
|
; CHECK-LABEL: lshr_var_amt_never_zero:
|
||||||
; CHECK: # %bb.0:
|
; CHECK: # %bb.0:
|
||||||
@ -311,7 +311,7 @@ define i32 @lshr_var_amt_never_zero(i32 %a0, i32 %a1, i32 %a2, i32 %a3) {
|
|||||||
ret i32 %r
|
ret i32 %r
|
||||||
}
|
}
|
||||||
|
|
||||||
; shl by non-zero variable - use seperate test
|
; shl by non-zero variable - use separate test
|
||||||
define i32 @shl_var_amt_never_zero(i32 %a0, i32 %a1, i32 %a2, i32 %a3) {
|
define i32 @shl_var_amt_never_zero(i32 %a0, i32 %a1, i32 %a2, i32 %a3) {
|
||||||
; CHECK-LABEL: shl_var_amt_never_zero:
|
; CHECK-LABEL: shl_var_amt_never_zero:
|
||||||
; CHECK: # %bb.0:
|
; CHECK: # %bb.0:
|
||||||
@ -330,7 +330,7 @@ define i32 @shl_var_amt_never_zero(i32 %a0, i32 %a1, i32 %a2, i32 %a3) {
|
|||||||
ret i32 %r
|
ret i32 %r
|
||||||
}
|
}
|
||||||
|
|
||||||
; ashr by non-zero variable and using result - use seperate test
|
; ashr by non-zero variable and using result - use separate test
|
||||||
define i32 @ashr_var_self_select_amt_never_zero(i32 %a0, i32 %a1, i32 %a2, i32 %a3) {
|
define i32 @ashr_var_self_select_amt_never_zero(i32 %a0, i32 %a1, i32 %a2, i32 %a3) {
|
||||||
; CHECK-LABEL: ashr_var_self_select_amt_never_zero:
|
; CHECK-LABEL: ashr_var_self_select_amt_never_zero:
|
||||||
; CHECK: # %bb.0:
|
; CHECK: # %bb.0:
|
||||||
@ -349,7 +349,7 @@ define i32 @ashr_var_self_select_amt_never_zero(i32 %a0, i32 %a1, i32 %a2, i32 %
|
|||||||
ret i32 %r
|
ret i32 %r
|
||||||
}
|
}
|
||||||
|
|
||||||
; lshr by non-zero variable and using result - use seperate test
|
; lshr by non-zero variable and using result - use separate test
|
||||||
define i32 @lshr_var_self_select_amt_never_zero(i32 %a0, i32 %a1, i32 %a2, i32 %a3) {
|
define i32 @lshr_var_self_select_amt_never_zero(i32 %a0, i32 %a1, i32 %a2, i32 %a3) {
|
||||||
; CHECK-LABEL: lshr_var_self_select_amt_never_zero:
|
; CHECK-LABEL: lshr_var_self_select_amt_never_zero:
|
||||||
; CHECK: # %bb.0:
|
; CHECK: # %bb.0:
|
||||||
@ -368,7 +368,7 @@ define i32 @lshr_var_self_select_amt_never_zero(i32 %a0, i32 %a1, i32 %a2, i32 %
|
|||||||
ret i32 %r
|
ret i32 %r
|
||||||
}
|
}
|
||||||
|
|
||||||
; shl by non-zero variable and using result - use seperate test
|
; shl by non-zero variable and using result - use separate test
|
||||||
define i32 @shl_var_self_select_amt_never_zero(i32 %a0, i32 %a1, i32 %a2, i32 %a3) {
|
define i32 @shl_var_self_select_amt_never_zero(i32 %a0, i32 %a1, i32 %a2, i32 %a3) {
|
||||||
; CHECK-LABEL: shl_var_self_select_amt_never_zero:
|
; CHECK-LABEL: shl_var_self_select_amt_never_zero:
|
||||||
; CHECK: # %bb.0:
|
; CHECK: # %bb.0:
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
; RUN: opt -S -passes=instsimplify < %s | FileCheck %s
|
; RUN: opt -S -passes=instsimplify < %s | FileCheck %s
|
||||||
|
|
||||||
; Test cases for denormal handling mode when constant folding floating point
|
; Test cases for denormal handling mode when constant folding floating point
|
||||||
; operations. Input and output modes are checked seperately.
|
; operations. Input and output modes are checked separately.
|
||||||
|
|
||||||
; ============================================================================ ;
|
; ============================================================================ ;
|
||||||
; fadd tests
|
; fadd tests
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
;; This is a collection of tests whose only purpose is to show changes in the
|
;; This is a collection of tests whose only purpose is to show changes in the
|
||||||
;; default configuration. Please keep these tests minimal - if you're testing
|
;; default configuration. Please keep these tests minimal - if you're testing
|
||||||
;; functionality of some specific configuration, please place that in a
|
;; functionality of some specific configuration, please place that in a
|
||||||
;; seperate test file with a hard coded configuration (even if that
|
;; separate test file with a hard coded configuration (even if that
|
||||||
;; configuration is the current default).
|
;; configuration is the current default).
|
||||||
|
|
||||||
target datalayout = "e-m:e-p:64:64-i64:64-i128:128-n64-S128"
|
target datalayout = "e-m:e-p:64:64-i64:64-i128:128-n64-S128"
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
; This is a collection of tests whose only purpose is to show changes in the
|
; This is a collection of tests whose only purpose is to show changes in the
|
||||||
; default configuration. Please keep these tests minimal - if you're testing
|
; default configuration. Please keep these tests minimal - if you're testing
|
||||||
; functionality of some specific configuration, please place that in a
|
; functionality of some specific configuration, please place that in a
|
||||||
; seperate test file with a hard coded configuration (even if that
|
; separate test file with a hard coded configuration (even if that
|
||||||
; configuration is the current default).
|
; configuration is the current default).
|
||||||
|
|
||||||
target datalayout = "e-m:e-p:64:64-i64:64-i128:128-n64-S128"
|
target datalayout = "e-m:e-p:64:64-i64:64-i128:128-n64-S128"
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
;; Check that or operations, either with operands with no bits in common or that
|
;; Check that or operations, either with operands with no bits in common or that
|
||||||
;; are disjoint are lowered into constant GEPs. Note that because this is a
|
;; are disjoint are lowered into constant GEPs. Note that because this is a
|
||||||
;; target-independent test, the GEP seperator will lower the seperated-off constant
|
;; target-independent test, the GEP separator will lower the separated-off constant
|
||||||
;; part to ptrtoint-based arithmetic.
|
;; part to ptrtoint-based arithmetic.
|
||||||
|
|
||||||
define void @testOrDoesntSplit(ptr %p) {
|
define void @testOrDoesntSplit(ptr %p) {
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
; RUN: not llvm-as %s -o /dev/null 2>&1 | FileCheck %s
|
; RUN: not llvm-as %s -o /dev/null 2>&1 | FileCheck %s
|
||||||
;
|
;
|
||||||
; We handle allocsize with identical args in the parser, rather than the
|
; We handle allocsize with identical args in the parser, rather than the
|
||||||
; verifier. So, a seperate test is needed.
|
; verifier. So, a separate test is needed.
|
||||||
|
|
||||||
; CHECK: 'allocsize' indices can't refer to the same parameter
|
; CHECK: 'allocsize' indices can't refer to the same parameter
|
||||||
declare ptr @a(i32, i32) allocsize(0, 0)
|
declare ptr @a(i32, i32) allocsize(0, 0)
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
# Test that windows path seperators are handled correctly.
|
# Test that windows path separators are handled correctly.
|
||||||
REQUIRES: system-windows
|
REQUIRES: system-windows
|
||||||
|
|
||||||
# Note: many of these tests depend on relative paths, so we have to cd to a
|
# Note: many of these tests depend on relative paths, so we have to cd to a
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
## Test that permissions for ouput files are mirrored
|
## Test that permissions for ouput files are mirrored
|
||||||
## from their input files.
|
## from their input files.
|
||||||
|
|
||||||
## The Unix version of this test is seperated because it needs
|
## The Unix version of this test is separated because it needs
|
||||||
## to use umask(1). Windows has no umask, so it can be considered
|
## to use umask(1). Windows has no umask, so it can be considered
|
||||||
## to be always 0, the required behavior.
|
## to be always 0, the required behavior.
|
||||||
# REQUIRES: system-windows
|
# REQUIRES: system-windows
|
||||||
|
@ -515,7 +515,7 @@ void CodeCoverageTool::remapPathNames(const CoverageMapping &Coverage) {
|
|||||||
if (!PathRemappings)
|
if (!PathRemappings)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
// Convert remapping paths to native paths with trailing seperators.
|
// Convert remapping paths to native paths with trailing separators.
|
||||||
auto nativeWithTrailing = [](StringRef Path) -> std::string {
|
auto nativeWithTrailing = [](StringRef Path) -> std::string {
|
||||||
if (Path.empty())
|
if (Path.empty())
|
||||||
return "";
|
return "";
|
||||||
|
@ -564,7 +564,7 @@ bool PerfScriptReader::extractLBRStack(TraceStream &TraceIt,
|
|||||||
// The raw format of LBR stack is like:
|
// The raw format of LBR stack is like:
|
||||||
// 0x4005c8/0x4005dc/P/-/-/0 0x40062f/0x4005b0/P/-/-/0 ...
|
// 0x4005c8/0x4005dc/P/-/-/0 0x40062f/0x4005b0/P/-/-/0 ...
|
||||||
// ... 0x4005c8/0x4005dc/P/-/-/0
|
// ... 0x4005c8/0x4005dc/P/-/-/0
|
||||||
// It's in FIFO order and seperated by whitespace.
|
// It's in FIFO order and separated by whitespace.
|
||||||
SmallVector<StringRef, 32> Records;
|
SmallVector<StringRef, 32> Records;
|
||||||
TraceIt.getCurrentLine().rtrim().split(Records, " ", -1, false);
|
TraceIt.getCurrentLine().rtrim().split(Records, " ", -1, false);
|
||||||
auto WarnInvalidLBR = [](TraceStream &TraceIt) {
|
auto WarnInvalidLBR = [](TraceStream &TraceIt) {
|
||||||
|
@ -626,8 +626,8 @@ TEST(SupportDeathTest, TempDirectoryOnWindows) {
|
|||||||
// different values of specific env vars. To prevent corrupting env vars of
|
// different values of specific env vars. To prevent corrupting env vars of
|
||||||
// the current process all checks are done in separated processes.
|
// the current process all checks are done in separated processes.
|
||||||
EXPECT_TEMP_DIR(_wputenv_s(L"TMP", L"C:\\OtherFolder"), "C:\\OtherFolder");
|
EXPECT_TEMP_DIR(_wputenv_s(L"TMP", L"C:\\OtherFolder"), "C:\\OtherFolder");
|
||||||
EXPECT_TEMP_DIR(_wputenv_s(L"TMP", L"C:/Unix/Path/Seperators"),
|
EXPECT_TEMP_DIR(_wputenv_s(L"TMP", L"C:/Unix/Path/Separators"),
|
||||||
"C:\\Unix\\Path\\Seperators");
|
"C:\\Unix\\Path\\Separators");
|
||||||
EXPECT_TEMP_DIR(_wputenv_s(L"TMP", L"Local Path"), ".+\\Local Path$");
|
EXPECT_TEMP_DIR(_wputenv_s(L"TMP", L"Local Path"), ".+\\Local Path$");
|
||||||
EXPECT_TEMP_DIR(_wputenv_s(L"TMP", L"F:\\TrailingSep\\"), "F:\\TrailingSep");
|
EXPECT_TEMP_DIR(_wputenv_s(L"TMP", L"F:\\TrailingSep\\"), "F:\\TrailingSep");
|
||||||
EXPECT_TEMP_DIR(
|
EXPECT_TEMP_DIR(
|
||||||
|
@ -642,7 +642,7 @@ public:
|
|||||||
/// the split become symbols, or some of the symbols immediately after the
|
/// the split become symbols, or some of the symbols immediately after the
|
||||||
/// split become dimensions.
|
/// split become dimensions.
|
||||||
void setDimSymbolSeparation(unsigned newSymbolCount) {
|
void setDimSymbolSeparation(unsigned newSymbolCount) {
|
||||||
space.setVarSymbolSeperation(newSymbolCount);
|
space.setVarSymbolSeparation(newSymbolCount);
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Return a set corresponding to all points in the domain of the relation.
|
/// Return a set corresponding to all points in the domain of the relation.
|
||||||
|
@ -236,7 +236,7 @@ public:
|
|||||||
/// symbol count, either a chunk of dimensional variables immediately before
|
/// symbol count, either a chunk of dimensional variables immediately before
|
||||||
/// the split become symbols, or some of the symbols immediately after the
|
/// the split become symbols, or some of the symbols immediately after the
|
||||||
/// split become dimensions.
|
/// split become dimensions.
|
||||||
void setVarSymbolSeperation(unsigned newSymbolCount);
|
void setVarSymbolSeparation(unsigned newSymbolCount);
|
||||||
|
|
||||||
/// Swaps the posA^th variable of kindA and posB^th variable of kindB.
|
/// Swaps the posA^th variable of kindA and posB^th variable of kindB.
|
||||||
void swapVar(VarKind kindA, VarKind kindB, unsigned posA, unsigned posB);
|
void swapVar(VarKind kindA, VarKind kindB, unsigned posA, unsigned posB);
|
||||||
|
@ -28,7 +28,7 @@
|
|||||||
|
|
||||||
namespace mlir::omp {
|
namespace mlir::omp {
|
||||||
// You can override defaults here or implement more complex implementations of
|
// You can override defaults here or implement more complex implementations of
|
||||||
// functions. Or define a completely seperate external model implementation,
|
// functions. Or define a completely separate external model implementation,
|
||||||
// to override the existing implementation.
|
// to override the existing implementation.
|
||||||
struct OffloadModuleDefaultModel
|
struct OffloadModuleDefaultModel
|
||||||
: public OffloadModuleInterface::ExternalModel<OffloadModuleDefaultModel,
|
: public OffloadModuleInterface::ExternalModel<OffloadModuleDefaultModel,
|
||||||
|
@ -286,7 +286,7 @@ bool PresburgerSpace::isAligned(const PresburgerSpace &other,
|
|||||||
return getNumVarKind(kind) == other.getNumVarKind(kind);
|
return getNumVarKind(kind) == other.getNumVarKind(kind);
|
||||||
}
|
}
|
||||||
|
|
||||||
void PresburgerSpace::setVarSymbolSeperation(unsigned newSymbolCount) {
|
void PresburgerSpace::setVarSymbolSeparation(unsigned newSymbolCount) {
|
||||||
assert(newSymbolCount <= getNumDimAndSymbolVars() &&
|
assert(newSymbolCount <= getNumDimAndSymbolVars() &&
|
||||||
"invalid separation position");
|
"invalid separation position");
|
||||||
numRange = numRange + numSymbols - newSymbolCount;
|
numRange = numRange + numSymbols - newSymbolCount;
|
||||||
|
@ -79,7 +79,7 @@ struct GPUPrintfOpToHIPLowering : public ConvertOpToLLVMPattern<gpu::PrintfOp> {
|
|||||||
/// The lowering of gpu.printf to a call to an external printf() function
|
/// The lowering of gpu.printf to a call to an external printf() function
|
||||||
///
|
///
|
||||||
/// This pass will add a declaration of printf() to the GPUModule if needed
|
/// This pass will add a declaration of printf() to the GPUModule if needed
|
||||||
/// and seperate out the format strings into global constants. For some
|
/// and separate out the format strings into global constants. For some
|
||||||
/// runtimes, such as OpenCL on AMD, this is sufficient setup, as the compiler
|
/// runtimes, such as OpenCL on AMD, this is sufficient setup, as the compiler
|
||||||
/// will lower printf calls to appropriate device-side code
|
/// will lower printf calls to appropriate device-side code
|
||||||
struct GPUPrintfOpToLLVMCallLowering
|
struct GPUPrintfOpToLLVMCallLowering
|
||||||
|
@ -65,7 +65,7 @@ void PtxBuilder::insertValue(Value v, PTXRegisterMod itype) {
|
|||||||
auto getModifier = [&]() -> const char * {
|
auto getModifier = [&]() -> const char * {
|
||||||
if (itype == PTXRegisterMod::ReadWrite) {
|
if (itype == PTXRegisterMod::ReadWrite) {
|
||||||
assert(false && "Read-Write modifier is not supported. Try setting the "
|
assert(false && "Read-Write modifier is not supported. Try setting the "
|
||||||
"same value as Write and Read seperately.");
|
"same value as Write and Read separately.");
|
||||||
return "+";
|
return "+";
|
||||||
}
|
}
|
||||||
if (itype == PTXRegisterMod::Write) {
|
if (itype == PTXRegisterMod::Write) {
|
||||||
|
@ -2263,7 +2263,7 @@ static llvm::omp::OpenMPOffloadMappingFlags mapParentWithMembers(
|
|||||||
|
|
||||||
// This creates the initial MEMBER_OF mapping that consists of
|
// This creates the initial MEMBER_OF mapping that consists of
|
||||||
// the parent/top level container (same as above effectively, except
|
// the parent/top level container (same as above effectively, except
|
||||||
// with a fixed initial compile time size and seperate maptype which
|
// with a fixed initial compile time size and separate maptype which
|
||||||
// indicates the true mape type (tofrom etc.). This parent mapping is
|
// indicates the true mape type (tofrom etc.). This parent mapping is
|
||||||
// only relevant if the structure in its totality is being mapped,
|
// only relevant if the structure in its totality is being mapped,
|
||||||
// otherwise the above suffices.
|
// otherwise the above suffices.
|
||||||
@ -2388,7 +2388,7 @@ static void processMapWithMembersOf(
|
|||||||
|
|
||||||
// If we have a partial map (no parent referenced in the map clauses of the
|
// If we have a partial map (no parent referenced in the map clauses of the
|
||||||
// directive, only members) and only a single member, we do not need to bind
|
// directive, only members) and only a single member, we do not need to bind
|
||||||
// the map of the member to the parent, we can pass the member seperately.
|
// the map of the member to the parent, we can pass the member separately.
|
||||||
if (parentClause.getMembers().size() == 1 && parentClause.getPartialMap()) {
|
if (parentClause.getMembers().size() == 1 && parentClause.getPartialMap()) {
|
||||||
auto memberClause = llvm::cast<mlir::omp::MapInfoOp>(
|
auto memberClause = llvm::cast<mlir::omp::MapInfoOp>(
|
||||||
parentClause.getMembers()[0].getDefiningOp());
|
parentClause.getMembers()[0].getDefiningOp());
|
||||||
@ -2425,7 +2425,7 @@ createAlteredByCaptureMap(MapInfoData &mapData,
|
|||||||
LLVM::ModuleTranslation &moduleTranslation,
|
LLVM::ModuleTranslation &moduleTranslation,
|
||||||
llvm::IRBuilderBase &builder) {
|
llvm::IRBuilderBase &builder) {
|
||||||
for (size_t i = 0; i < mapData.MapClause.size(); ++i) {
|
for (size_t i = 0; i < mapData.MapClause.size(); ++i) {
|
||||||
// if it's declare target, skip it, it's handled seperately.
|
// if it's declare target, skip it, it's handled separately.
|
||||||
if (!mapData.IsDeclareTarget[i]) {
|
if (!mapData.IsDeclareTarget[i]) {
|
||||||
auto mapOp =
|
auto mapOp =
|
||||||
mlir::dyn_cast_if_present<mlir::omp::MapInfoOp>(mapData.MapClause[i]);
|
mlir::dyn_cast_if_present<mlir::omp::MapInfoOp>(mapData.MapClause[i]);
|
||||||
|
@ -27,7 +27,7 @@
|
|||||||
// REDEFINE: %{sparsifier_opts} = enable-runtime-library=false enable-buffer-initialization=true vl=2 reassociate-fp-reductions=true enable-index-optimizations=true
|
// REDEFINE: %{sparsifier_opts} = enable-runtime-library=false enable-buffer-initialization=true vl=2 reassociate-fp-reductions=true enable-index-optimizations=true
|
||||||
// RUN: %{compile} | %{run} | FileCheck %s
|
// RUN: %{compile} | %{run} | FileCheck %s
|
||||||
|
|
||||||
// Product reductions - kept in a seperate file as these are not supported by
|
// Product reductions - kept in a separate file as these are not supported by
|
||||||
// the AArch64 SVE backend (so the set-up is a bit different to
|
// the AArch64 SVE backend (so the set-up is a bit different to
|
||||||
// sparse_reducitons.mlir)
|
// sparse_reducitons.mlir)
|
||||||
|
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
// compiler. Certain LLVM IR optimisation passes will perform runtime breaking
|
// compiler. Certain LLVM IR optimisation passes will perform runtime breaking
|
||||||
// transformations on allocations not found to be in the entry block, current
|
// transformations on allocations not found to be in the entry block, current
|
||||||
// OpenMP dialect lowering of TargetOp's will inject user allocations after
|
// OpenMP dialect lowering of TargetOp's will inject user allocations after
|
||||||
// compiler generated entry code, in a seperate block, this test checks that
|
// compiler generated entry code, in a separate block, this test checks that
|
||||||
// a small function which attempts to raise some of these (specifically
|
// a small function which attempts to raise some of these (specifically
|
||||||
// constant sized) allocations performs its task reasonably in these
|
// constant sized) allocations performs its task reasonably in these
|
||||||
// scenarios.
|
// scenarios.
|
||||||
|
@ -200,7 +200,7 @@ function(_OPENMP_TARGET_DEVICE_GET_FLAGS LANG DEVICE OPENMP_FLAG_VAR OPENMP_LIB_
|
|||||||
file(APPEND ${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/CMakeOutput.log
|
file(APPEND ${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/CMakeOutput.log
|
||||||
"Compilation successful, adding flags for ${DEVICE}.\n\n")
|
"Compilation successful, adding flags for ${DEVICE}.\n\n")
|
||||||
|
|
||||||
# Clang has a seperate library for target offloading.
|
# Clang has a separate library for target offloading.
|
||||||
if(CMAKE_${LANG}_COMPILER_ID STREQUAL "Clang")
|
if(CMAKE_${LANG}_COMPILER_ID STREQUAL "Clang")
|
||||||
find_library(OpenMPTarget_libomptarget_LIBRARY
|
find_library(OpenMPTarget_libomptarget_LIBRARY
|
||||||
NAMES omptarget
|
NAMES omptarget
|
||||||
|
Loading…
x
Reference in New Issue
Block a user