- Aug 11, 2020
-
-
Benjamin Kramer authored
Found by asan!
-
Raphael Isemann authored
Just implementing the default case that emits an error to supress the compiler warning.
-
Rainer Orth authored
Two ubsan tests FAIL on Sparc: UBSan-Standalone-sparc :: TestCases/TypeCheck/misaligned.cpp UBSan-Standalone-sparcv9 :: TestCases/TypeCheck/misaligned.cpp I've reported the details in Bug 47015, but it boils down to the fact that the `s1` subtest actually incurs a fault on strict-alignment targets like Sparc which UBSan doesn't expect. This can be fixed like the `w1` subtest by compiling with `-fno-sanitize-recover=alignment`. Tested on `sparcv9-sun-solaris2.11`, `amd64-pc-solaris2.11`, and `x86_64-pc-linux-gnu`. Differential Revision: https://reviews.llvm.org/D85433
-
Kazushi (Jam) Marukawa authored
Change bitreverse/bswap/ctlz/ctpop/cttz regression tests to support i128 and signext/zeroext i32 types. This patch also change the way to support i32 types using 64 bits VE instructions. Reviewed By: simoll Differential Revision: https://reviews.llvm.org/D85712
-
Paul Walker authored
These are useful instructions when lowering fixed length vector extends, so I've broken this patch out as kind of NFC like work. Differential Revision: https://reviews.llvm.org/D85546
-
Simon Pilgrim authored
The plan is to use this for (F)HADD/SUB opcodes as well as PACKs - similar to how we use combineShuffleWithHorizOp
-
Simon Pilgrim authored
Fixes PR47070
-
Gongyu Deng authored
1. Added a common completion ModuleUUIDs to provide a list of the UUIDs of modules for completion; 2. Added a new enumeration item eArgTypeModuleUUID to CommandArgumentType which is set as the option argument type of OptionGroupUUID; 3. Applied the module UUID completion to the argument of the type eArgTypeModuleUUID in lldb/source/Interpreter/CommandObject.cpp; 4. Added an related test case in lldb/test/API/functionalities/completion/TestCompletion.py.
-
Paul Walker authored
Differential Revision: https://reviews.llvm.org/D85665
-
Gongyu Deng authored
[lldb] move the frame index completion into a common completion and apply it to `thread backtrace -s` Commands frame select and thread backtrace -s can be completed in the same way. Moved the dedicated completion of frame select into a common completion and apply it to the both commands, along with the test modified.
-
David Zarzycki authored
Caught with a build-system that remounts the source directory read-only.
-
Gongyu Deng authored
Dedicated completion for the command `target modules search-paths insert` with a test case. Reviewed By: JDevlieghere Differential Revision: https://reviews.llvm.org/D83309
-
Kai Nacke authored
Twelvth -> Twelfth
-
Kai Nacke authored
Adds the binary format goff and the operating system zos to the triple class. goff is selected as default binary format if zos is choosen as operating system. No further functionality is added. Reviewers: efriedma, tahonermann, hubert.reinterpertcast, MaskRay Reviewed By: efriedma, tahonermann, hubert.reinterpertcast Differential Revision: https://reviews.llvm.org/D82081
-
Dávid Bolvanský authored
-
Florian Hahn authored
The entries in VectorizableTree are not necessarily ordered by their position in basic blocks. Collect them and order them by dominance so later instructions are guaranteed to be visited first. For instructions in different basic blocks, we only scan to the beginning of the block, so their order does not matter, as long as all instructions in a basic block are grouped together. Using dominance ensures a deterministic order. The modified test case contains an example where we compute a wrong spill cost (2) without this patch, even though there is no call between any instruction in the bundle. This seems to have limited practical impact, .e.g on X86 with a recent Intel Xeon CPU with -O3 -march=native -flto on MultiSource,SPEC2000,SPEC2006 there are no binary changes. Reviewed By: ABataev Differential Revision: https://reviews.llvm.org/D82444
-
Gongyu Deng authored
1. Added a new common completion TypeLanguages to provide a list of supporting languages; 2. Bound the completion to eArgTypeLanguage; 3. Added a related test case.
-
Dávid Bolvanský authored
Proof: https://alive2.llvm.org/ce/z/4xharr Solves PR47051 Reviewed By: nikic Differential Revision: https://reviews.llvm.org/D85593
-
Florian Hahn authored
SCEVExpander already tracks which instructions have been inserted n InsertedValues/InsertedPostIncValues. This patch adds an additional vector to collect the instructions in insertion order. This can then be used to remove exactly the instructions inserted by the expander. This replaces ExpandedValuesCleaner, which in some cases might remove values not inserted by the expander (e.g. if a value was dead before insertion and is then used during expansion). Reviewed By: lebedev.ri Differential Revision: https://reviews.llvm.org/D84327
-
Gongyu Deng authored
Provided dedicated tab completions for `command delete/unalias`. Reviewed By: teemperor Differential Revision: https://reviews.llvm.org/D81128
-
Raphael Isemann authored
-
Gongyu Deng authored
Dedicated completion for the command `thread plan discard` with a corresponding test case. Reviewed By: teemperor Differential Revision: https://reviews.llvm.org/D83234
-
Balázs Kéri authored
Report undefined pointer dereference in similar way as null pointer dereference. Reviewed By: NoQ Differential Revision: https://reviews.llvm.org/D84520
-
Raphael Isemann authored
No one is calling this function it seems and according to https://bugs.llvm.org/show_bug.cgi?id=47088 this can leak memory, so let's just remove it: Quote from the bug report: > Before return on line 146, the memory allocated on line 130 is not freed. Reviewed By: amccarth Differential Revision: https://reviews.llvm.org/D85633
-
Sam Parker authored
We skip debug instructions in RDA so we cannot attempt to look them up in our instruction map without causing a crash. But some of the methods select the last instruction in the block and this instruction may be a debug instruction... So, use getLastNonDebugInstr instead of calling back on a MachineBasicBlock. MachineBasicBlock iterators have also been updated to use instructionsWithoutDebug so we can avoid the manual checks for debug instructions. Differential Revision: https://reviews.llvm.org/D85658
-
Gongyu Deng authored
1.Added a new common completion DisassemblyFlavors; 2. Bound DisassemblyFlavors to argument of type eArgTypeDisassemblyFlavor in CommandObject.cpp; 3. Added a related test case.
-
Gongyu Deng authored
1. Applied the common completion `eVariablePathCompletion` to command `watchpoint set variable`; 2. Added a related test case. Reviewed By: teemperor, JDevlieghere Differential Revision: https://reviews.llvm.org/D84177
-
Kirill Bobyrev authored
When running dexp in remote mode without --project-root it shuts down with an assertion. This is not the desired behaviour: instruct user on how to run it properly when the configuration is incorrect.
-
Richard Barton authored
Patch breaks out of tree builds and fails its regression test on buildbots. This reverts commit 6e67a74ed73e60a9609f2666e9ac9f44c63c3e0f.
-
Juneyoung Lee authored
This patch makes getEdgeValueLocal more precise when a freeze instruction is given, by adding support for freeze into constantFoldUser Reviewed By: efriedma Differential Revision: https://reviews.llvm.org/D84629
-
Eric Christopher authored
-
Shinji Okumura authored
This patch enables `AAValueSimplify` to use information from `AAPotentialValues` Reviewed By: jdoerfert Differential Revision: https://reviews.llvm.org/D85668
-
Craig Topper authored
By factoring out the end of tryVPTERNLOG, we can use the same code to directly match X86ISD::VPTERNLOG. This allows us to remove around 3-4K worth of X86GenDAGISel.inc.
-
QingShan Zhang authored
This patch is the continue work of https://reviews.llvm.org/D69281 to implement the way that expands STRICT_FSETCC/STRICT_FSETCCS. Reviewed By: uweigand Differential Revision: https://reviews.llvm.org/D81906
-
Jonas Devlieghere authored
Remove the unused LLDB_CONFIGURATION_RELEASE and move LLDB_USE_OS_LOG under debugserver which is the only one using it.
-
Jonas Devlieghere authored
Use the target variants of include_directories and add_definitions to avoid repetition.
-
LLVM GN Syncbot authored
-
LLVM GN Syncbot authored
-
Haowei Wu authored
This change moves ELFObjHandler to llvm/TextAPI library so it can be used by different llvm tools.
-