- Dec 12, 2022
-
-
OCHyams authored
The Assignment Tracking debug-info feature is outlined in this RFC: https://discourse.llvm.org/t/ rfc-assignment-tracking-a-better-way-of-specifying-variable-locations-in-ir Split dbg.assign intrinsics into fragments similarly to what SROA already does for dbg.declares, except that there's many more intrinsics to split. The function migrateDebugInfo generates new dbg.assigns intrinsic for each part of a split store. Reviewed By: jmorse Differential Revision: https://reviews.llvm.org/D133296
-
Andrew Browne authored
``` C:\b\slave\clang-x64-windows-msvc\llvm-project\llvm\lib\Transforms\Instrumentation\DataFlowSanitizer.cpp(1062,37): error: call to constructor of 'llvm::APInt' is ambiguous llvm::APInt(32, dbgloc.getLine(), false)); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ C:\b\slave\clang-x64-windows-msvc\llvm-project\llvm\include\llvm/ADT/APInt.h(108,3): note: candidate constructor APInt(unsigned numBits, uint64_t val, bool isSigned = false) ^ C:\b\slave\clang-x64-windows-msvc\llvm-project\llvm\include\llvm/ADT/APInt.h(134,3): note: candidate constructor APInt(unsigned numBits, unsigned numWords, const uint64_t bigVal[]); ^ 1 error generated. ``` -
gonglingqin authored
To avoid excessive redundancy in test cases, use -O2 instead of -O0 for testing.
-
Alex Zinenko authored
Harden the verifier to check that the block argument type matches the operand type, when present. This was overlooked when transform dialect types were introduced. Fix the builders to preserve the insertion point before creating the block, otherwise the insertion point is updated to be within the block by `createBlock` and never reset to be after the sequence op itself, leading all following operations to be created in the unexpected to the caller place. Reviewed By: chelini, springerm Differential Revision: https://reviews.llvm.org/D139427
-
Fangrui Song authored
-
Haojian Wu authored
This is a test I missed to mention in https://reviews.llvm.org/D139087. Reviewed By: VitaNuo Differential Revision: https://reviews.llvm.org/D139696
-
Fangrui Song authored
-
OCHyams authored
Build-bot failure: https://lab.llvm.org/buildbot/#/builders/214/builds/4756 Original commit: 1d1de746 Work-around commit: 34a3259f
-
Nikita Popov authored
BasicAA currently has an optional dependency on the PhiValues analysis. However, at least with our current pipeline setup, we never actually make use of it. It's possible that this used to work with the legacy pass manager, but I'm not sure of that either. Given that this analysis has not actually been in use for a long time, and nobody noticed or complained, I think we should drop support for it and focus on one code path. It is worth noting that analysis quality for the non-PhiValues case has significantly improved in the meantime. If we really wanted to make use of PhiValues, the right way would probably be to pass it in via AAQI in places we want to use it, rather than using an optional pass manager dependency (which are an unpredictable PITA and should really only ever be used for analyses that are only preserved and not used). Differential Revision: https://reviews.llvm.org/D139719
-
LLVM GN Syncbot authored
-
David Green authored
This adds a fold which teaches the backend to fold splat(bitcast(buildvector(x,..))) or splat(bitcast(scalar_to_vector(x))) to a single splat. This only handles lane 0 splats, which are only valid under LE, and needs to be a little careful with the types it creates for the new buildvector. Differential Revision: https://reviews.llvm.org/D139611
-
Nikita Popov authored
The CFL Steens/Anders alias analysis passes are not enabled by default, and to the best of my knowledge have no pathway towards ever being enabled by default. The last significant interest in these passes seems to date back to 2016. Given the little maintenance these have seen in recent times, I also have very little confidence in the correctness of these passes. I don't think we should keep these in-tree. Differential Revision: https://reviews.llvm.org/D139703
-
Pavel Labath authored
After D133376, jumping to the return line in the otherfn function became ambiguous because it has two line entries associated with it. Work around that problem by changing the function. Filed PR59458 to track possible improvements in jump target disambiguation.
-
Benjamin Chetioui authored
Reviewed By: tpopp Differential Revision: https://reviews.llvm.org/D139698
-
Fangrui Song authored
-
Matthias Springer authored
This test case used to crash with a failed assertion: ``` AffineExpr.cpp:659 in AffineExpr simplifyMul(AffineExpr, AffineExpr): lhs.isSymbolicOrConstant() || rhs.isSymbolicOrConstant() ``` This was caused by combining two affine maps, which created a multiplication of two non-symbols.
-
Sameer Sahasrabuddhe authored
An expression of the form `gep(base, select(pred, const1, const2))` can result in a set of offsets instead of just one. PointerInfo can now track these sets instead of conservatively modeling them as Unknown. In general, AAPointerInfo now uses AAPotentialConstantValues to examine the operands of the GEP. Reviewed By: jdoerfert Differential Revision: https://reviews.llvm.org/D138646
-
Andrew Browne authored
Authored-by:
Christopher Liebchen <liebchen@google.com> Co-authored-by:
Andrew Browne <browneee@google.com> Reviewed By: browneee Differential Revision: https://reviews.llvm.org/D139543
-
jacquesguan authored
This revision scalarizes extend/truncate for splat vector. Reviewed By: RKSimon Differential Revision: https://reviews.llvm.org/D122875
-
River Riddle authored
This commit adds a significant amount of visualizers attempting to cover the majority of our visualization needs. It covers: * Operations/OperationName/Ops/OpInterfaces * Attributes/Types/Attr|TypeInterfaces/NamedAttribute * Blocks/Regions * Various range types (e.g. ValueRange/TypeRange) * Values/BlockArguments/OpResults This does require an NFC change to interfaces to rename the concept field to avoid clash with the base class. It also requires exposing a few method to the debugger to help resolve information that is non-trivial to reconstruct. These methods are re-exported using a debug_Blah naming scheme to avoid messing with hot methods. Note that this makes use of the new callback feature in lldb-16 (currently trunk) that allows for providing visualizers based on a dynamic callback, instead of just the typename. It requires a very new lldb, but allows for providing good default visualization for all attributes/operations/types out of the box. Differential Revision: https://reviews.llvm.org/D139602
-
River Riddle authored
The bytecode reader currently has no mechanism that allows for directly referencing data from the input buffer safely. This commit adds shared_ptr<SourceMgr> overloads that provide an explicit and safe way of extending the lifetime of the input. The usage of these new overloads is adopted in all of our tooling, and is implicitly used in the filename only parser methods. Differential Revision: https://reviews.llvm.org/D139366
-
Amir Ayupov authored
-
Amir Ayupov authored
-
Amir Ayupov authored
-
Amir Ayupov authored
-
Amir Ayupov authored
-
Amir Ayupov authored
-
Amir Ayupov authored
-
Amir Ayupov authored
-
Amir Ayupov authored
-
Amir Ayupov authored
-
Craig Topper authored
Believe the bug has been fixed with D139169 Reviewed By: asb Differential Revision: https://reviews.llvm.org/D139753
-
Shilei Tian authored
This reverts commit ac65b3c7.
-
Shilei Tian authored
-
Zi Xuan Wu (Zeson) authored
- Remove unnecessary symbol offset check in MC cases. - Change other expected output in CodeGen cases.
-
Xiang1 Zhang authored
-
Zakk Chen authored
This patch fixed the missing test cases from: 010f3298 Reviewed By: kito-cheng, craig.topper Differential Revision: https://reviews.llvm.org/D139387
-
Yeting Kuo authored
The patch also added function expandVPBITREVERSE to expand ISD::VP_BITREVERSE nodes. Reviewed By: craig.topper Differential Revision: https://reviews.llvm.org/D139697
-
wangpc authored
This reduces several lines of code and these variables can be used by followed patches. Reviewed By: craig.topper Differential Revision: https://reviews.llvm.org/D139690
-
Xiang1 Zhang authored
Reviewed By: WangPengfei Differential Revision: https://reviews.llvm.org/D139682
-