- Jul 07, 2023
-
-
Ingo Müller authored
This fixes bad behavior of that class that surfaced in https://reviews.llvm.org/D154299, where calling applySignatureConversion left the insertion point different from before the call, which broke a subsequent call to replaceOp. This patch introduces a fix in both functions, each of which is enough to fix the specific problem in the aforementioned diff: (1) applySignatureConversion now resets the insertion point with a guard for the whole function and (2) replace sets the insertion point to the op that should be replaced (and resets it with a guard). Reviewed By: ftynse Differential Revision: https://reviews.llvm.org/D154684
-
Ingo Müller authored
In two places, a ResultRange was copied into a SmallVector just to be passed as a ValueRange argument. With this patch, the ResultRanges are passed directly, avoiding a copy. Reviewed By: ingomueller-net Differential Revision: https://reviews.llvm.org/D154685
-
Michael Platings authored
Previously the warning stated "flag ignored" which is only partially true - the invalid flag would prevent -feature +soft-float-abi from being emitted which resulted in user-visible behaviour like __ARM_PCS_VFP being defined. Rather than attempt to coerce invalid flags into valid behaviour, don't describe the expected behaviour. Ideally the warning would be an error, as it is in GCC. However there are tests in llvm-project that trigger the warning. Therefore one has to assume that making the warning an error would break other code that already exists in the wild. Also apply test improvements suggested by @MaskRay on D150902. Reviewed By: simon_tatham Differential Revision: https://reviews.llvm.org/D154578
-
Nikita Popov authored
The select base, (gep base, offset) to gep base, select (0, offset) fold used to drop inbounds, because the gep base, 0 this introduces might not be inbounds. After the semantics change in D154051, such a GEP is always considered inbounds, in which allows us to preserve the flag here. As the PhaseOrdering test demonstrates, this can result in major optimization improvements in some cases. Differential Revision: https://reviews.llvm.org/D154055
-
Haojian Wu authored
-
Kito Cheng authored
Zfinx extension also provide floating point environment like F extension, so enable that on `__fe_getround` and `__fe_raise_inexact` too. Reviewed By: asb Differential Revision: https://reviews.llvm.org/D154570
-
WuXinlong authored
`RISCVPushPopOptimizer.cpp` combine `cm.pop` and `ret` to generates `cm.popretz` or `cm.popret` . Reviewed By: craig.topper Differential Revision: https://reviews.llvm.org/D150416
-
Freddy Ye authored
Reviewed By: RKSimon, skan Differential Revision: https://reviews.llvm.org/D154493
-
Jim Lin authored
Reviewed By: craig.topper Differential Revision: https://reviews.llvm.org/D154679
-
Johannes Doerfert authored
-
Johannes Doerfert authored
-
Johannes Doerfert authored
-
Serguei Katkov authored
When new assumption is created it should be registered in assumption cache or cache should be invalidated. Reviewed By: nikic Differential Revision: https://reviews.llvm.org/D154601
-
Craig Topper authored
These can't create .vx instructions so there's no reason to sink them.
-
Jie Fu authored
/data/llvm-project/llvm/lib/Target/RISCV/RISCVMachineFunctionInfo.h:78:8: error: private field 'RVPushable' is not used [-Werror,-Wunused-private-field ] bool RVPushable = false; ^ 1 error generated. -
Fangrui Song authored
-
Fangrui Song authored
-
WuXinlong authored
This patch readjusts the frame stack for the push and pop instructions co-author: @Lukacma Reviewed By: craig.topper Differential Revision: https://reviews.llvm.org/D134599
-
chenli authored
Depends on D154195 Reviewed By: SixWeining Differential Revision: https://reviews.llvm.org/D154326
-
chenli authored
Depends on D154183 Reviewed By: SixWeining Differential Revision: https://reviews.llvm.org/D154197
-
wanglei authored
This patch adds the definition of the LASX instructions, providing support only for assembly and disassembly, similar to D154183. Depends on D154183 Reviewed By: SixWeining Differential Revision: https://reviews.llvm.org/D154195
-
wanglei authored
This patch adds the definition for the `LSX` registers and instructions. It also adds handling for new immediate operands in the AsmParser. This patch ensures that llvm-mc and llvm-objdump correctly handle the `LSX` instructions. We expand those pseudo-instructions `vrepli.{b,h,w,d}` in the MCCodeEmitter. This increases the readability of the output when generating assembly files. Reviewed By: SixWeining Differential Revision: https://reviews.llvm.org/D154183 -
Aiden Grossman authored
Left some includes around from debugging the last patch that I forgot to take out, so here's the patch taking them out.
-
Aiden Grossman authored
This patch switches from using PTRACE_SEIZE within the subprocess benchmark runner for llvm-exegesis as PTRACE_SEIZE was introduced in Linux kernel 3.4. Some LLVM users were reporting build failures as they are using Kernel versions older than 3.4 (such as on CentOS/RHEL 6), hence the patch.
-
Aiden Grossman authored
Having the SubprocessMemory class available on Android was causing build failures in downstream builds as Android doesn't implement the SystemV IPC specification that supplies shm_open and other functions that the class relies on. This patch simply makes it unavailable on Android using preprocessor directives.
-
wren romano authored
Reviewed By: aartbik Differential Revision: https://reviews.llvm.org/D154662
-
Jason Molenda authored
This reverts commit c3192196. Reverting my second attempt at https://reviews.llvm.org/D139453 changing which dyld notification method is being used. The Intel macOS CI bot is still failing with this rewrite at https://green.lab.llvm.org/green/view/LLDB/job/lldb-cmake/ I'll need to set up an Intel macOS system running a matching OS version to debug this directly I think.
-
Matt Arsenault authored
There are a number of more test combinations here that can be done together and reduce the number of instructions. https://reviews.llvm.org/D143191
-
Eduard Zingerman authored
This reverts commit 09feee55. Revert because of a testbot failure: https://lab.llvm.org/buildbot/#/builders/5/builds/34931
-
Jason Molenda authored
On Darwin systems, the dynamic linker dyld has an empty function it calls when binaries are added/removed from the process. lldb puts a breakpoint on this dyld function to catch the notifications. The function arguments are used by lldb to tell what is happening. The linker has a natural representation when the addresses of binaries being added/removed are in the pointer size of the process. There is then a second function where the addresses of the binaries are in a uint64_t array, which the debugger has been using before - dyld allocates memory for the array, copies the values in to it, and calls it for lldb's benefit. This changes to using the native notifier function, with pointer-sized addresses. This is the second time landing this change; this time correct the size of the image_count argument, and add a fallback if the notification function "lldb_image_notifier" can't be found. Differential Revision: https://reviews.llvm.org/D139453
-
Lang Hames authored
In OrcAArch64::writeIndirectStubsBlock, masks the high bits of the immediate operand to the stub's ldr instruction so that negative offsets to the stub pointer do not overflow. No testcase -- this fixes most of the OrcLazy testcases for AArch64 (at least on Darwin), but we still need to fix the exception-handling test before we can turn them on.
-
Alexander Yermolovich authored
With different linker, the offset of strings can change. Reviewed By: maksfb Differential Revision: https://reviews.llvm.org/D154670
-
Douglas Yung authored
-
Alexander Yermolovich authored
With different linker, the offset of strings can change. Reviewed By: maksfb Differential Revision: https://reviews.llvm.org/D154669
-
Thurston Dang authored
I've temporarily reverted D154272 (which this commit depends on) due to a build breakage, so also reverting this for now. This reverts commit c1e28385.
-
Craig Topper authored
Similar to what we do for orc.b. Another patch will expose this as a builtin in clang.
-
Thurston Dang authored
This reverts my commit 015dabd7 due to breaking non-glibc builds.
-
Volodymyr Sapsai authored
-
Alexander Yermolovich authored
Fixed invalid assembly, where references were not correct. Reviewed By: rafauler Differential Revision: https://reviews.llvm.org/D154667
-
Joseph Huber authored
This reverts commit a4a26374. This was causing some problems with the CPU build and CUDA buildbot. Revert until I can figure out what those issues are and fix them. I believe it is just some CMake.
-