- Nov 30, 2021
-
-
Fangrui Song authored
PR48282: This behavior matches GNU ld and gold. Reviewed By: markj Differential Revision: https://reviews.llvm.org/D114663
-
Sanjay Patel authored
or (mul X, Y), X --> mul X, (add Y, 1) (when the multiply has no common bits with X) We already have this fold if the pattern ends in 'add', but we can miss it if the 'add' becomes 'or' via another no-common-bits transform. This is part of fixing: http://llvm.org/PR49055 ...but it won't make a difference on that example yet. https://alive2.llvm.org/ce/z/Vrmoeb Differential Revision: https://reviews.llvm.org/D114729
-
Jeremy Morse authored
InstrRefBasedLDV observes when variable locations are clobbered, scans what values are available in the machine, and re-issues a DBG_VALUE for the variable if it can find another location. Unfortunately, I hadn't joined up the Indirectness flag, so if it did this to an Indirect Value, the indirectness would be dropped. Fix this, and add a test that if we clobber a variable value (on the stack in this case), then the recovered variable location keeps the Indirect flag. Differential Revision: https://reviews.llvm.org/D114378
-
David Green authored
-
Matt Arsenault authored
This was trying to figure out the build path for amdgpu-arch, and making assumptions about where it is which were not working on my system. Whether a standalone build or not, we should have a proper imported target to get the location from.
-
Adrian Prantl authored
-
Jeremy Morse authored
This patch contains a bunch of replacements of: DBG_VALUE $somereg with, SOMEINST debug-instr-number1 DBG_INSTR_REF 1, 0, ... It's mostly SelectionDAG tests that are making sure that the variable location assignment is placed in the correct position in the instructions. To avoid a loss in test coverage of SelectionDAG, which is used by a lot of different backends, all these tests now have two modes and sets of RUN lines, one for DBG_VALUE mode, the other for instruction referencing. Differential Revision: https://reviews.llvm.org/D114258 -
Matt Arsenault authored
This reverts commit 6c27d389. This is failing on the buildbots
-
Aart Bik authored
Reviewed By: pifon2a Differential Revision: https://reviews.llvm.org/D114730
-
Nikita Popov authored
-
Sanjay Patel authored
-
Stanislav Mekhanoshin authored
``` ---------------------------------------- define i3 @src(i3 %a, i3 %b, i3 %c) { %0: %or1 = or i3 %b, %c %not1 = xor i3 %or1, 7 %and1 = and i3 %a, %not1 %xor1 = xor i3 %b, %c %or2 = or i3 %xor1, %a %not2 = xor i3 %or2, 7 %or3 = or i3 %and1, %not2 ret i3 %or3 } => define i3 @tgt(i3 %a, i3 %b, i3 %c) { %0: %obc = or i3 %b, %c %xbc = xor i3 %b, %c %o = or i3 %a, %xbc %and = and i3 %obc, %o %r = xor i3 %and, 7 ret i3 %r } Transformation seems to be correct! ``` Differential Revision: https://reviews.llvm.org/D112955 -
Steven Wan authored
We're close to hitting the limited number of driver diagnostics, increase `DIAG_SIZE_DRIVER` to accommodate more. Reviewed By: erichkeane Differential Revision: https://reviews.llvm.org/D114615
-
Anshil Gandhi authored
Introduce `__hip_atomic_load`, `__hip_atomic_store` and `__hip_atomic_compare_exchange_weak` builtins in HIP. Reviewed By: yaxunl Differential Revision: https://reviews.llvm.org/D114553
-
Zequan Wu authored
-
Matt Arsenault authored
This wasn't setting any of the attributes the target would expect to emit for kernels.
-
Louis Dionne authored
The test doesn't depend specifically on the en_US.UTF-8 locale, instead it depends on whether localization support exists, period. Differential Revision: https://reviews.llvm.org/D114708
-
Steven Wan authored
AIX doesn't support GPU. There is no point testing HIP on it. Reviewed By: Jake-Egan Differential Revision: https://reviews.llvm.org/D114484
-
Zequan Wu authored
-
Benjamin Kramer authored
We would exit early and miss this case. Differential Revision: https://reviews.llvm.org/D114711
-
Kazu Hirata authored
-
Mehrnoosh Heidarpour authored
https://alive2.llvm.org/ce/z/gLrYPk Fixes: https://llvm.org/PR52518 Reviewed by: spatel Differential revision: https://reviews.llvm.org/D114339
-
Nikita Popov authored
Fix assertion failure reported on D113349 by removing the assert. While the produced expression should be equivalent, it may not be strictly the same, e.g. due to lazy nowrap flag updates. Similar to what the main createSCEV() code does, simply retain the old value map entry if one already exists.
-
Matt Morehouse authored
It fails for non-Android aarch64 bots as well.
-
Valentin Clement authored
Replace the global option `nameLengthHashSize` with a constexpr with the same name. The option was not used in fir-dev so switching to a constexpr is fine. Reviewed By: kiranchandramohan Differential Revision: https://reviews.llvm.org/D114630
-
- Nov 29, 2021
-
-
Roman Lebedev authored
The mask on the shuffle is for the output, not the input. Reviewed By: RKSimon Differential Revision: https://reviews.llvm.org/D114697
-
Mirko Brkusanin authored
[AMDGPU][GlobalISel] Transform (fsub (fpext (fneg (fmul x, y))), z) -> (fneg (fma (fpext x), (fpext y), z)) Patch by: Mateja Marjanovic Differential Revision: https://reviews.llvm.org/D98050
-
Mirko Brkusanin authored
[AMDGPU][GlobalISel] Transform (fsub (fpext (fmul x, y)), z) -> (fma (fpext x), (fpext y), (fneg z)) Patch by: Mateja Marjanovic Differential Revision: https://reviews.llvm.org/D98049
-
Mirko Brkusanin authored
Patch by: Mateja Marjanovic Differential Revision: https://reviews.llvm.org/D98048
-
Mirko Brkusanin authored
Patch by: Mateja Marjanovic Differential Revision: https://reviews.llvm.org/D96614
-
Mirko Brkusanin authored
[AMDGPU][GlobalISel] Transform (fadd (fma x, y, (fpext (fmul u, v))), z) -> (fma x, y, (fma (fpext u), (fpext v), z)) Patch by: Mateja Marjanovic Differential Revision: https://reviews.llvm.org/D98047
-
Mirko Brkusanin authored
Patch by: Mateja Marjanovic Differential Revision: https://reviews.llvm.org/D97938
-
Mirko Brkusanin authored
Patch by: Mateja Marjanovic Differential Revision: https://reviews.llvm.org/D97937
-
Mirko Brkusanin authored
Patch by: Mateja Marjanovic Differential Revision: https://reviews.llvm.org/D93305
-
Jay Foad authored
-
Jay Foad authored
-
Omer Aviram authored
Ensure D113970 handles vector types patterns as well. Differential Revision: https://reviews.llvm.org/D114575
-
Stephan Herhut authored
The verifier computed an illegal type with negative dimension size when collapsing partially static memrefs. Differential Revision: https://reviews.llvm.org/D114702
-
Erich Keane authored
See discussion in D51650, this change was a little aggressive in an error while doing a 'while we were here', so this removes that error condition, as it is apparently useful. This reverts commit bb493460.
-
mydeveloperday authored
{D110833} regressed behavior of spaces before parentheses for operators, this revision reverts that so that operators are handled as they were before. I think in hindsight it was a mistake to try and consume operator behaviour in with the function behaviour, I think Operators can be considered a special style. Its seems the code is getting confused as to if this is a function declaration or definition. I think latterly we can consider adding an operator parentheses specific custom option but this should have been explicitly called out as it can impact projects. Reviewed By: HazardyKnusperkeks, curdeius Differential Revision: https://reviews.llvm.org/D114696
-