- Sep 24, 2023
-
-
Kazu Hirata authored
-
Ivan Kosarev authored
Reverts 6cb3866b. Analysis of failures on buildbots with expensive checks enabled showed that the problem was triggered by changes in another commit, 469b3bfa, and was caused by the bug addressed in #67245.
-
Kazu Hirata authored
-
Kazu Hirata authored
-
Kazu Hirata authored
-
Fangrui Song authored
The test is adapted from https://reviews.llvm.org/D46008
-
Eduard Zingerman authored
The following assembly code should issue two errors specifying that both jump and load offsets are out of range: if r1 > r2 goto +100500 r1 = *(u64 *)(r1 - 100500) This commit updates BPFAsmParser to check that: - offset specified for jump is either identifier (label) or a 16-bit signed constant; - offset specified for memory operations is a signed 16-bit constant. (Which matches expectations in the BPFELFObjectWriter and BPFMCCodeEmitter). Differential Revision: https://reviews.llvm.org/D158425
-
- Sep 23, 2023
-
-
Tobias Hieta authored
This needs more investigation.
-
Noah Goldstein authored
Previously, we where taking `CurVT` before finalizing `ToCast` which meant potentially returning an `SDValue` with an illegal `ValueType` for the operation. Fix is to just take `CurVT` after we have finalized `ToCast` with `PeekThroughCastsAndTrunc`.
-
Timm Bäder authored
-
Umesh Kalappa authored
This changes to address the PR : 55207 We update the volatility on the LValue by looking at the LHS cast operation qualifier and propagate the RValue volatile-ness from the CGF data structure . Reviewed By: rjmccall Differential Revision: https://reviews.llvm.org/D157890
-
Joseph Huber authored
Summary: The NVPTX backend cannot handle cyclical dependencies on global variable initializers. That is, a global variable cannot be used to initialize or reference another global variable inside of it. This situation was encountered with the new errno tests. This patch simply replaces the offending function with a constant version to break the dependency and alllow the tests to run again.
-
Tobias Hieta authored
This can fix not being able to fetch the right amounts of history for the code-format flow.
-
Tobias Hieta authored
See comment here: https://github.com/tj-actions/changed-files#usage-
-
Timm Bäder authored
-
Oskar Wirga authored
This diff fixes an issue in the MergeFunctions pass where two different Control Flow Integrity (CFI) metadata checks were incorrectly considered identical. These merges would lead to runtime violations down the line as two separate objects contained a single destructor which itself contained checks for only one of the objects. Here I update the comparison logic to take into account the metadata at llvm.type.test checks. Now, only truly identical checks will be considered for merging, thus preserving the integrity of each check. Previous discussion: https://reviews.llvm.org/D154119
-
Timm Bäder authored
-
Antonio Frighetto authored
Minor addition of transferring unsigned facts to signed comparisons. Proofs: https://alive2.llvm.org/ce/z/nqqzHb
-
Antonio Frighetto authored
Introduce test cases for extending unsigned-to-signed transfer logic.
-
LLVM GN Syncbot authored
-
Lang Hames authored
This reverts commit e1a5bb59 while I investigate the bot failure at https://lab.llvm.org/buildbot/#/builders/168/builds/15831
-
Zhuojia Shen authored
This reverts commit 0def4e6b, applies a quick fix that disallows merging two pre-indexed loads, and adds MIR regression tests. Differential Revision: https://reviews.llvm.org/D152407
-
Kazu Hirata authored
-
Fangrui Song authored
This reverts commit 64857900. Caused xla/tests:float8_test_gpu to fail ``` LLVM ERROR: Cannot select: t118: v2i16 = or t375, t401 t375: v2i16 = BUILD_VECTOR t374, t372 t374: i16 = select t247, Constant:i16<8960>, t360 t247: i1 = setcc t199, Constant:i16<7>, seteq:ch t199: i16 = extract_vector_elt t187, Constant:i64<0> t187: v2i16 = and t183, t410 t183: v2i16 = BUILD_VECTOR t383, t384 ... ``` Acked by author to revert
-
Jason Molenda authored
With my previous fix, this test now passes on Linux.
-
Jason Molenda authored
This is my second recent change to TestStepOverWatchpoint.py, the first was to change the two global variables it is watching from 'char' to 'long' so they're more likely to be on separate words/doublewords of memory that can be watched indepdently. I believe this removes the need for the MIPS and S390X skips. The test was testing a combination of read and write watchpoints, stepping over a function that hits them, and then instruction stepping over a source line which hits them. But previously it was always starting with the read watchpoint in both of them, it didn't test the instruction-stepping for the read watchpoint. I now have to tests in TestStepOverWatchpoint.py, one which runs to the read-watchpoint function, sets that watchpoint, steps over another function which reads from that global, then instruction steps over a source line that reads from that global. The second test runs to the write-watchpoint function, sets that watchpoint. Steps over another function which writes to that global, then instruction steps over a source line that writes to that global. These are both xfailed on Darwin systems because watchpoints and hardware breakpoints are currently disabled by the kernel when instruction stepping.
-
Kazu Hirata authored
-
Richard Smith authored
-
Kazu Hirata authored
-
Kazu Hirata authored
-
Kazu Hirata authored
-
Craig Topper authored
We need to use a COPY so the register coalescer can replace reads of the register we copy to with X0. This is needed so that we use X0 on instructions that don't have an immediate form. This was reviewed as #67202.
-
Craig Topper authored
I had to disable the late copy propagation pass that can see through the ADDI we were previously emitting. We really want to get this in the register coalescer if not even earlier.
-
Aart Bik authored
After some internal discussion, we decided that these features were best represented as a separate format, and not a property.
-
Youngsuk Kim authored
Partial progress towards removing in-tree uses of `getPointerTo()`, by employing the following options: * Drop the call entirely if the sole purpose of it is to support a no-op bitcast (remove the no-op bitcast as well). * Replace with `PointerType::get()`/`PointerType::getUnqual()` This is a NFC cleanup effort. Reviewed By: barannikov88 Differential Revision: https://reviews.llvm.org/D155232
-
LLVM GN Syncbot authored
-
Lang Hames authored
This change means that debugger support only needs to be linked in if it's used. The code size of debugger support is expected to increase as we improve it (e.g. pulling in DWARF parsing), so making it an optional extra is useful for controlling final binary sizes.
-
Alex Richardson authored
-
Lang Hames authored
-