- Mar 09, 2023
-
-
Nikita Popov authored
Since https://reviews.llvm.org/D141386 !range violations return poison instead of causing immediate undefined behavior. As such, it is fine for IPSCCP to infer !range even if the value might be poison. (The value cannot be undef as this would promote undef to poison, but this is already checked separately.) This basically undoes the late change done to D83952, restoring it to its original version (which is now valid). Differential Revision: https://reviews.llvm.org/D144467
-
Nikita Popov authored
Use the memory() spelling in a few places that were using the old syntax. The documented attributes for llvm.type.checked.load don't match the actual attributes, I've raised this here: https://reviews.llvm.org/D21121#inline-1406792
-
Han Zhu authored
Fix a crash when compiling Skia. See https://reviews.llvm.org/D143225#4180342 for more details
-
Marco Elver authored
SanitizerBinaryMetadata should only apply to to host code, and not GPU code. Recently AMD GPU target code has experimental sanitizer support. If we're compiling a mixed host/device source file, only add sanitizer metadata to host code. Differential Revision: https://reviews.llvm.org/D145519
-
David Spickett authored
-
Nikita Popov authored
The legacy PM is only supported for codegen, and PassManagerBuilder is exclusively about the middle-end optimization pipeline. Drop it. Differential Revision: https://reviews.llvm.org/D145387
-
Siva Chandra Reddy authored
-
Haojian Wu authored
Differential Revision: https://reviews.llvm.org/D145557
-
Haojian Wu authored
Differential Revision: https://reviews.llvm.org/D145553
-
Chuanqi Xu authored
The option '-fmodule-file=<module-name>=<path-BMI>' is already deprecated now. This patch mentions it in the document.
-
Siva Chandra Reddy authored
The libc runtime code is already compiled with -fpie.
-
Aaron Siddhartha Mondal authored
These libraries are only ever used in clang-tidy itself, so there is no need to unconditionally keep all symbols. Reviewed By: GMNGeoffrey, #bazel_build Differential Revision: https://reviews.llvm.org/D145258
-
Karl-Johan Karlsson authored
When compiling compiler-rt with -fsanitize=undefined and running testcases you end up with the following warning: UBSan: int_mulo_impl.inc:21:36: left shift of 1 by 63 places cannot be represented in type 'di_int' (aka 'long long') This can be avoided by simply doing the shift in a matching unsigned variant of the type. The same kind of pattern seems to exist in int_mulv_impl.inc This was found in an out of tree target. Reviewed By: MaskRay Differential Revision: https://reviews.llvm.org/D145556
-
Siva Chandra Reddy authored
-
Théo Degioanni authored
This revision adds the inalloca attribute to the alloca operation in the LLVMIR dialect. It also adds tests for import and export. Reviewed By: gysit Differential Revision: https://reviews.llvm.org/D145483
-
Piyou Chen authored
This commit enable the subregister liveness by default in RISC-V. It was previously disabled in https://reviews.llvm.org/D129646 after a previous attempt to enabled it https://reviews.llvm.org/D128016. We believe that https://reviews.llvm.org/D129735 fixes the issue that caused it to be disabled. Reviewed By: craig.topper, kito-cheng Differential Revision: https://reviews.llvm.org/D145546
-
Craig Topper authored
fli.h requires Zfh or Zvfh. We need to check for this in isFPImmLegal. Zvfh support will come in another patch. I had to split the test file because there are other issues with Zfhmin and some intrinsics.
-
Bing1 Yu authored
Update X86MemFoldTables.inc according to https://reviews.llvm.org/D142084's auto-gen table Reviewed By: skan Differential Revision: https://reviews.llvm.org/D143149
-
Igor Zhukov authored
Reviewed By: #libc Differential Revision: https://reviews.llvm.org/D145651
-
Jonas Devlieghere authored
Fixed warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wdangling-else]
-
Jonas Devlieghere authored
-
Jonas Devlieghere authored
Fix the crash in SymbolVendorELF and re-enable the test.
-
Craig Topper authored
This was added after the patch was approved. I'm not sure why its there. It doesn't fire in any lit test.
-
Craig Topper authored
-
Jonas Devlieghere authored
The new test is triggering a crash in LLDB on the Windows and Linux bots. Temporarily disable the test while I investigate.
-
Jie Fu authored
/home/jiefu/llvm-project/polly/lib/CodeGen/IslNodeBuilder.cpp:80:11: error: unused variable 'VectorLoops' [-Werror,-Wunused-variable] STATISTIC(VectorLoops, "Number of generated vector for-loops"); ^ 1 error generated. -
jinge90 authored
Signed-off-by:jinge90 <ge.jin@intel.com>
-
Jonas Devlieghere authored
Introduce a new object and symbol file format with the goal of mapping addresses to symbol names. I'd like to think of is as an extremely simple textual symtab. The file format consists of a triple, a UUID and a list of symbols. JSON is used for the encoding, but that's mostly an implementation detail. The goal of the format was to be simple and human readable. The new file format is motivated by two use cases: - Stripped binaries: when a binary is stripped, you lose the ability to do thing like setting symbolic breakpoints. You can keep the unstripped binary around, but if all you need is the stripped symbols then that's a lot of overhead. Instead, we could save the stripped symbols to a file and load them in the debugger when needed. I want to extend llvm-strip to have a mode where it emits this new file format. - Interactive crashlogs: with interactive crashlogs, if we don't have the binary or the dSYM for a particular mod...
-
Ron Lieberman authored
breaks amdgpu buildbot This reverts commit 0f2f3784.
-
Nathan Lanza authored
-cfg-dump and -cfg-view were removed long ago. The rest are gone, but I'm opting not to remove these lines without finding a replacement.
-
jinge90 authored
This builtin will be converted to llvm.set.rounding intrinsic in IR level and should be work with "#pragma STDC FENV_ACCESS ON" since it changes default FP environment. Users can change rounding mode via this builtin without introducing libc dependency. Reviewed by: andrew.w.kaylor, rjmccall, sepavloff Differential Revision: https://reviews.llvm.org/D144454 Signed-off-by:
jinge90 <ge.jin@intel.com>
-
Jie Fu authored
/data/jiefu/llvm-project/mlir/include/mlir/Dialect/SparseTensor/IR/SparseTensorType.h:63:21: error: definition of implicit copy constructor for 'SparseTensorType' is deprecated because it has a user-declared copy assignment operator [-Werror,-Wdeprecated-copy] SparseTensorType &operator=(const SparseTensorType &) = delete; ^ /data/jiefu/llvm-project/mlir/lib/Dialect/SparseTensor/Transforms/SparseTensorStorageLayout.h:239:9: note: in implicit copy constructor for 'mlir::sparse_tensor::SparseTensorType' first required here : rType(stt), fields(fields) { ^ 1 error generated. -
Nikolas Klauser authored
-
Jason Molenda authored
Follow Alex Langford's feedback to my patch from https://reviews.llvm.org/D145547 , and fix a side issue I noticed while testing this, where binaries loaded via LC_NOTE metadata were loaded in the Target twice unnecessarily.
-
Jennifer Yu authored
This is to fix run time problem when use: int **a; map((*a)[:3]), (*a)[1] or map(**a). current we skip generate map info for dereference pointer: &(*a), &(*a)[0], 3*sizeof(int), TARGET_PARAM | TO | FROM One way to fix runtime problem is to generate map info for dereference pointer. map((*a)[:3]): &(*a), &(*a), sizeof(pointer), TARGET_PARAM | TO | FROM &(*a), &(*a)[0], 3*sizeof(int), PTR_AND_OBJ | TO | FROM map(**a): &(*a), &(*a), sizeof(pointer), TARGET_PARAM | TO | FROM &(*a), &(**a), sizeof(int), PTR_AND_OBJ | TO | FROM The change in CGOpenMPRuntime.cpp add that. The change in SemaOpenMP is to fix variable of dereference pointer to array captured by reference. That is wrong. That cause run time to fail. The rule is: If variable is identified in a map clause it is always captured by reference except if it is a pointer that is dereferenced somehow. Differential Revision: https://reviews.llvm.org/D145093
-
LiaoChunyu authored
-
Jason Molenda authored
We have some non-kexts in the binary list in the Darwin kernel in some situations. The binary has likely already been loaded; check if it has been, and don't re-load it. Also, if we do need to load it at this point, if in-memory segment vmaddrs have not been updated to the actual load addresses, calculate a fixed slide for the in-memory image and apply that slide to the ondisk binary. Differential Revision: https://reviews.llvm.org/D145547 rdar://106343477
-
wren romano authored
Depends On D145611 Reviewed By: aartbik Differential Revision: https://reviews.llvm.org/D145620
-
Dave Lee authored
Fix logic for repeat commands, so that regex commands (specificially `bt`) are given the opportunity to provide a repeat command. rdar://104562616 Differential Revision: https://reviews.llvm.org/D143695
-
Jez Ng authored
This reverts commit ef122753. Apparently it is causing some crashes: https://reviews.llvm.org/D142916#4178869
-