- Jul 23, 2023
-
-
Shubham Sandeep Rastogi authored
c5a45b25
-
Craig Topper authored
-
Craig Topper authored
[LegalizeTypes] Use report_fatal_error instead of llvm_unreachable in the default case of some type legalization handlers. These can be triggered by in various ways when intrinsics are used wrong or a target doesn't correctly not support something. Using a fatal error prevents strange behavior like infinite loops. We already do this for some of the vector type legalization handles.
-
Craig Topper authored
Instead of always passing OPC_OP_FP just hardcode it inside.
-
Shubham Sandeep Rastogi authored
With https://reviews.llvm.org/D154638, the ability to emit a .debug_addr section has been added to dsymutil. With this, instead of emitting a DW_LLE_baseaddr in the .debug_loclist section, a DW_LLE_baseaddrx can be emitted instead, which will allow for more indirection. Differetial Revision: https://reviews.llvm.org/D155724
-
Shubham Sandeep Rastogi authored
If the DW_AT_addr_base is not set, dsymutil should not copy any addrx attributes into the cloned DIE, which will result in no .debug_addr section being emitted. Differential Revision: https://reviews.llvm.org/D155666
-
Shubham Sandeep Rastogi authored
DWARF5 has support for DW_FORM_addrx, which can be useful for space savings, but it needs a .debug_addr section to be used. dsymutil does not have the ability to emit a debug_addr section currently. This patch adds support for that. Differential Revision: https://reviews.llvm.org/D154638
-
Simon Pilgrim authored
Fixes issue identified on #63980 where the undef rotate amounts (during widening from v2i32 -> v4i32) were being constant folded to 0 when the shift amounts are created during expansion, losing the splat'd shift amounts.
-
Fangrui Song authored
It currently depends on the StringMap iteration order, which is not guaranteed to be deterministic. Use MapVector to stabilize the order.
-
Fangrui Song authored
It currently depends on the StringMap iteration order, which is not guaranteed to be deterministic. Use MapVector to stabilize the order.
-
Nikolas Klauser authored
This also ignores and deprecates the `-fdouble-square-bracket-attributes` command line flag, which seems to not be used anywhere. At least a code search exclusively found mentions of it in documentation: https://sourcegraph.com/search?q=context:global+-fdouble-square-bracket-attributes+-file:clang/*+-file:test/Sema/*+-file:test/Parser/*+-file:test/AST/*+-file:test/Preprocessor/*+-file:test/Misc/*+archived:yes&patternType=standard&sm=0&groupBy=repo RFC: https://discourse.llvm.org/t/rfc-enable-c-11-c2x-attributes-in-all-standard-modes-as-an-extension-and-remove-fdouble-square-bracket-attributes This enables `[[]]` attributes in all C and C++ language modes without warning by default. `-Wc++-extensions` does warn. GCC has enabled this extension in all C modes since GCC 10. Reviewed By: aaron.ballman, MaskRay Spies: #clang-vendors, beanz, JDevlieghere, Michael137, MaskRay, sstefan1, jplehr, cfe-commits, lldb-commits, dmgreen, jdoerfert, wenlei, wlei Differential Revision: https://reviews.llvm.org/D151683
-
- Jul 22, 2023
-
-
Piotr Zegar authored
add_new_check.py does not work properly for checks that generate fixes in base class. Adding some comments to those checks in order to fix list.rst generation.
-
khei4 authored
-
Simon Pilgrim authored
Addresses the last comment from D154592 - ensure we only truncate with PACKSS/PACKUS when it can be cheaply done (and use shuffles otherwise).
-
Mark de Wever authored
These changes cause the Buildkite CI to fail.
-
Mark de Wever authored
This was brought to my attention in https://github.com/llvm/llvm-project/commit/88622aabf10764cc32d546f448076d25b13e94cd#r122279717
-
LLVM GN Syncbot authored
-
Nico Weber authored
Should maybe be 1 on linux, at least if is_clang. But just disabling it everywhere is good enough for now.
-
Nico Weber authored
-
Nico Weber authored
-
Daniil Dudkin authored
This patch adds supports for the reduction intrinsic for floating point minimum and maximum that have been added to LLVM by https://reviews.llvm.org/D152370. Related to: #63969 Reviewed By: dcaballe Differential Revision: https://reviews.llvm.org/D155869
-
Nuno Lopes authored
-
Nuno Lopes authored
These are used to create branch instructions. The condition is patched later
-
Phoebe Wang authored
Fixes root cause of #63017. The reason is similar to BUILD_VECTOR. We have legal vector type but still soft promote for scalar type. So we need to customize these scalar to vector nodes. Reviewed By: RKSimon Differential Revision: https://reviews.llvm.org/D155961
-
Matt Arsenault authored
Revert part of f407a739. Some of the HIP headers were using the f16 rcp inline, such that it breaks compiling code against non-top-of-tree headers. Need to wait for a few HIP releases to expire to fully remove these. Fixes #63981
-
Matt Arsenault authored
-
Matt Arsenault authored
We have to assume the input could be positive-zero. Makes alive2 happy.
-
Nuno Lopes authored
Used to construct full structs/vectors also, covert freeze undef -> freeze poison (same semantics)
-
Nuno Lopes authored
This is used in a phi node that is created for which only 1 value is accessed (the non-poison)
-
Fabian Mora authored
Currently, `ROCDL::GridDim*Op` is being translated to `__ockl_get_global_size`, however to match the meaning of `gpu.grid_dim` it should instead be translated to `__ockl_get_num_groups`. This change would also make it agree with the meaning of `gridDimx.*` in HIP, see: https://github.com/ROCm-Developer-Tools/hipamd/blob/develop/include/hip/amd_detail/amd_hip_runtime.h#L257 Difference between the functions: ``` __ockl_get_global_size = blockDim * numBlocks __ockl_get_num_groups = numBlocks ``` Reviewed By: krzysz00 Differential Revision: https://reviews.llvm.org/D156009
-
Benjamin Kramer authored
-
Phoebe Wang authored
Fixes #63017 Reviewed By: RKSimon Differential Revision: https://reviews.llvm.org/D155952
-
Mark de Wever authored
Implements parts of - P2093R14 Formatted output - P2539R4 Should the output of std::print to a terminal be synchronized with the underlying stream? Depends on D150044 Reviewed By: #libc, ldionne Differential Revision: https://reviews.llvm.org/D155262 -
Fangrui Song authored
-
Matthias Springer authored
`changed` was not updated correctly when it was already set to "true" before calling `applyPatternsAndFoldGreedily`. Differential Revision: https://reviews.llvm.org/D155934
-
Matthias Springer authored
Add a transform that eliminates dead operations. This is useful after certain transforms (such as fusion) that create/clone new IR but leave the original IR in place. Differential Revision: https://reviews.llvm.org/D155954
-
Fangrui Song authored
There is a libstdc++ stl_map.h bug that is only back ported to 7.5. https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78595#c13 ``` /tmp/opt/gcc-7.3.0/include/c++/7.3.0/bits/stl_tree.h:2091:28: error: no matching function for call to ‘std::_Rb_tree<std::__cxx11::basic_string<char>, std::pair<const std::__cxx11::basic_string<char>, std::unique_ptr<llvm::vfs::detail::InMemoryNode> >, std::_Select1st<std::pair<const std::__cxx11::basic_string<char>, std::unique_ptr<llvm::vfs::detail::InMemoryNode> > >, std::less<std::__cxx11::basic_string<char> >, std::allocator<std::pair<const std::__cxx11::basic_string<char>, std::unique_ptr<llvm::vfs::detail::InMemoryNode> > > >::_M_get_insert_unique_pos(std::pair<llvm::StringRef, std::unique_ptr<llvm::vfs::detail::InMemoryNode> >::first_type&)’ = _M_get_insert_unique_pos(_KeyOfValue()(__v)); ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ ``` Just construct a std::string from StringRef to work around it.
-
Mehdi Amini authored
Instead of crashing, try to print a useful error message.
-
Valentin Clement authored
Reviewed By: razvanlupusoru Differential Revision: https://reviews.llvm.org/D155897
-
khei4 authored
Revert "Reapply: [MemCpyOpt] implement single BB stack-move optimization which unify the static unescaped allocas" revert because crash on chrome windows https://reviews.llvm.org/D153453#4524256 This reverts commit 569769b6.
-