- Mar 23, 2021
-
-
Stefan Gränitz authored
No callback manager available for powerpc64le-unknown-linux-gnu
-
Simon Pilgrim authored
Helps fix cases where we've splatted smaller types to a wider vector element type without needing the upper bits. Avoid this on AVX512 targets as that can affect broadcast folding.
-
Stefan Gränitz authored
MCJIT served well as the default JIT engine in lli for a long time, but the code is getting old and maintenance efforts don't seem to be in sight. In the meantime Orc became mature enough to fill that gap. The newly added greddy mode is very similar to the execution model of MCJIT. It should work as a drop-in replacement for common JIT tasks. Reviewed By: lhames Differential Revision: https://reviews.llvm.org/D98931
-
Roman Lebedev authored
Quality of progress bar and ETA in lit has always bothered me. For example, given `./bin/llvm-lit /repositories/llvm-project/clang/test/CodeGen* -sv` at 1%, it says it will take 10 more minutes, at 25%, it says it will take 1.25 more minutes, at 50%, it says it will take 30 more seconds, and in the end finishes with `Testing Time: 39.49s`. That's rather wildly unprecise. Currently, it assumes that every single test will take the same amount of time to run on average. This is is a somewhat reasonable approximation overall, but it is quite clearly imprecise, especially in the beginning. But, we can do better now, after D98179! We now know how long the tests took to run last time. So we can build a better ETA predictor, by accumulating the time spent already, the time that will be spent on the tests for which we know the previous time, and for the test for which we don't have previous time, again use the average time over the tests for which we know current or previous run time. It would be better to use median, but i'm wary of the cost that may incur. Now, on **first** run of `./bin/llvm-lit /repositories/llvm-project/clang/test/CodeGen* -sv` at 10%, it says it will take 30 seconds, at 25%, it says it will take 50 more seconds, at 50%, it says it will take 27 more seconds, and in the end finishes with `Testing Time: 41.64s`. That's pretty reasonable. And on second run of `./bin/llvm-lit /repositories/llvm-project/clang/test/CodeGen* -sv` at 1%, it says it will take 1 minutes, at 25%, it says it will take 30 more seconds, at 50%, it says it will take 19 more seconds, and in the end finishes with `Testing Time: 39.49s`. That's amazing i think! I think people will love this :) Reviewed By: yln Differential Revision: https://reviews.llvm.org/D99073
-
Balázs Kéri authored
Update ASTImporter to import value of FieldDecl::getCapturedVLAType. Reviewed By: shafik, martong Differential Revision: https://reviews.llvm.org/D99062
-
Juneyoung Lee authored
This relands 07c3b97e (D96945) which was reverted by commit f4935483. The two-stage compilation successfully tests passes on my machine.
-
Fangrui Song authored
This should fix https://reviews.llvm.org/D98903#2643589 though it is not clear to me why ExternalWeak does not work.
-
Serguei Katkov authored
meetBDVState utility may sets the base pointer for the conflict state. At this moment the base for conflict state does not have any meaning but is used in comparison of BDV states. This comparison is used as an indicator of progress done on iteration and RS4GC pass uses infinite loop to reach fixed point. As a result for added test on each iteration state for some phi nodes is updated with other base value for conflict state and it indicates as a progress while for conflict state there is no any progress more possible. In reality the base value is transferred from one state to another and pass detects the progress on these states. The test is very fragile. The traversal order of states and operands of phi nodes plays important role. Reviewers: reames, dantrushin Reviewed By: reames Subscribers: llvm-commits Differential Revision: https://reviews.llvm.org/D99058
-
Serge Pavlov authored
Differential Revision: https://reviews.llvm.org/D99057
-
Pushpinder Singh authored
Reviewed By: foad Differential Revision: https://reviews.llvm.org/D93963
-
Max Kazantsev authored
-
Serge Pavlov authored
Differential Revision: https://reviews.llvm.org/D99057
-
Vitaly Buka authored
-
Rahman Lavaee authored
This patch adds a fallthrough bit to basic block metadata, indicating whether the basic block can fallthrough without taking any branches. The bit will help us avoid an intel LBR bug which results in occasional duplicate entries at the beginning of the LBR stack. This patch uses `MachineBasicBlock::canFallThrough()` to set the bit. This is not a const method because it eventually calls `TargetInstrInfo::analyzeBranch`, but it calls this function with the default `AllowModify=false`. So we can either make the argument to the `getBBAddrMapMetadata` non-const, or we can use `const_cast` when calling `canFallThrough`. I decide to go with the latter since this is purely due to legacy code, and in general we should not allow the BasicBlock to be mutable during `getBBAddrMapMetadata`. Reviewed By: tmsriram Differential Revision: https://reviews.llvm.org/D96918
-
Tony authored
Reserve AMD GPU ELF machine code 0x040. Minor AMDGPUUsage format consistency change. Reviewed By: kzhuravl Differential Revision: https://reviews.llvm.org/D99122
-
Nemanja Ivanovic authored
Add vec_permi as a synonym for vec_xxpermdi (but only for doubleword vectors).
-
Craig Topper authored
Reviewed By: HsiangKai Differential Revision: https://reviews.llvm.org/D99053
-
Craig Topper authored
It doesn't look like any instructions have ever been assigned to these classes. Reviewed By: HsiangKai Differential Revision: https://reviews.llvm.org/D99050
-
Nemanja Ivanovic authored
Add vec_gbb as a synonym for vec_vgbbd but for doubleword vectors.
-
Nemanja Ivanovic authored
Add vec_cvf as a synonym for vec_doublee/vec_floate.
-
Carl Ritson authored
This restores previous behaviour and is a step toward removing unbundling entirely. Reviewed By: foad, rampitec Differential Revision: https://reviews.llvm.org/D99061
-
Craig Topper authored
As discussed in D99009
-
Philip Reames authored
-
Richard Smith authored
* List inferred lists of imports in `#pragma clang __debug module_map`. * Add `#pragma clang __debug modules {all,visible,building}` to dump lists of known / visible module names or the building modules stack. -
Philip Reames authored
-
Vitaly Buka authored
Fails on Windows https://lab.llvm.org/buildbot/#/builders/127/builds/7999 and Android https://lab.llvm.org/buildbot/#/builders/77/builds/4839 This reverts commit bca0cf76.
-
Philip Reames authored
-
Jonas Devlieghere authored
Fix spurious warnings for missing symbols with thinLTO. The latter appends a unique suffix to avoid collisions for exported private symbols, resulting in dsymutil complaining it couldn't find the symbol in the object file. rdar://75434058 Differential revision: https://reviews.llvm.org/D99125
-
Philip Reames authored
While doing so, also split one monster test into individually named test functions.
-
Zakk Chen authored
1. Skip the temporary file 2. Test cc1 with -S to verify codegen work well. Add '-target-feature +m' because the backend requires it to calculate the vscaled size/offset. Reviewed By: craig.topper Differential Revision: https://reviews.llvm.org/D99082
-
Nemanja Ivanovic authored
Add vec_ctd which is similar to vec_ctf except the return type is vector double rather than vector float.
-
River Riddle authored
The "else" group of an optional element is a collection of elements that get parsed/printed when the anchor of the main element group is *not* present. This is useful when there is a special syntax when an element is not present. The new syntax for an optional element is shown below: ``` optional-group: `(` elements `)` (`:` `(` else-elements `)`)? `?` ``` An example of how this might be used is shown below: ```tablegen def FooOp : ... { let arguments = (ins UnitAttr:$foo); let assemblyFormat = "attr-dict (`foo_is_present` $foo^):(`foo_is_absent`)?"; } ``` would be formatted as such: ```mlir // When the `foo` attribute is present: foo.op foo_is_present // When the `foo` attribute is not present: foo.op foo_is_absent ``` Differential Revision: https://reviews.llvm.org/D99129 -
Sean Silva authored
This assertion can fire in the case of different contexts as well, which is not difficult to do from Python bindings, for example.
-
Gulfem Savrun Yeniceri authored
This reverts commit 78a65cd9 which caused buildbot failures.
-
Chris Lattner authored
This nicely aligns the naming with RewritePatternSet. This type isn't as widely used, but we keep a using declaration in to help with downstream consumption of this change. Differential Revision: https://reviews.llvm.org/D99131
-
Mehdi Amini authored
Reviewed By: rriddle Differential Revision: https://reviews.llvm.org/D99007
-
Amara Emerson authored
GlobalISel is currently not enabled when using -flto since the front-end -mvllm flags don't get passed through. This change fixes this for Darwin platforms. We have to do this in the driver because the code generator choice isn't embedded into the bitcode file. Differential Revision: https://reviews.llvm.org/D99126
-
Chris Lattner authored
Depends on D99127. Differential Revision: https://reviews.llvm.org/D99130
-
Chris Lattner authored
[PatternMatch] Big mechanical rename OwningRewritePatternList -> RewritePatternSet and insert -> add. NFC This doesn't change APIs, this just cleans up the many in-tree uses of these names to use the new preferred names. We'll keep the old names around for a couple weeks to help transitions. Differential Revision: https://reviews.llvm.org/D99127
-