llvm-project/llvm/unittests
Peter Rong 348189880b [IR Verifier] didn't check if switch case is constant, align IR Verifier's check with LLParser.
If a programmer incorrectly `Switch->setOperand()` and `Verifier` will pass, causing problems when dumping this `Module`
This patch aligns SwitchInst's check with LLParser. It also includes a test to justify the patch.

Differential Revision: https://reviews.llvm.org/D136656
2022-11-03 15:26:54 -07:00
..
ADT Fix DenseMap with APInt keys 2022-11-01 16:23:32 -07:00
Analysis [ValueLattice] Use DL-aware folding in getCompare() 2022-11-02 10:41:11 +01:00
AsmParser [AsmParserTest] Avoid pointer element type accesses (NFC) 2022-01-25 14:31:51 +01:00
BinaryFormat [llvm] Use has_value instead of hasValue (NFC) 2022-07-12 22:25:42 -07:00
Bitcode [RISCV] Adjust RV64I data layout by using n32:64 in layout string 2022-10-28 08:27:03 -07:00
Bitstream
CodeGen [SDAG] Treat DemandedElts argument to isSplatVector as splat for scalable vectors [nfc] 2022-10-11 09:49:28 -07:00
DebugInfo [llvm-debuginfo-analyzer] Fix memory leak reported by sanitizers. 2022-11-02 06:07:33 +00:00
Debuginfod [llvm] [Debuginfod] Add HTTP Server to Debuginfod library. 2022-07-06 18:56:54 +00:00
Demangle [demangler] No need to space adjacent template closings 2022-05-09 06:14:44 -07:00
ExecutionEngine [ORC] Reset MaterializationUnit::InitSymbol if the init symbol is discarded. 2022-10-23 13:55:55 -07:00
FileCheck [llvm] Use value instead of getValue (NFC) 2022-07-13 23:11:56 -07:00
Frontend [OpenMP] [OMPIRBuilder] Create a new datatype to hold the unique target region info 2022-10-31 10:49:44 -04:00
FuzzMutate Revert "[FuzzMutate] Don't insert instructions after musttail call" 2022-03-16 17:29:27 +01:00
IR [IR Verifier] didn't check if switch case is constant, align IR Verifier's check with LLParser. 2022-11-03 15:26:54 -07:00
InterfaceStub [llvm] Use value instead of getValue (NFC) 2022-07-13 23:11:56 -07:00
LineEditor
Linker Revert "[OpenMP][NFC] Add missing virtual destructor to silence warning" 2022-03-25 16:07:11 -05:00
MC [MCDwarf] Use emplace to avoid move assignment. NFC 2022-08-12 05:05:49 +00:00
MI [LiveIntervals] Find better anchoring end points when repairing ranges 2022-07-18 19:34:43 +01:00
MIR Use llvm::sort instead of std::sort where possible 2022-07-23 15:19:05 +02:00
ObjCopy Fix for buildbot failure: https://lab.llvm.org/buildbot#builders/110/builds/11051 2022-03-09 14:26:46 +03:00
Object [LoongArch] Define the new-style reloc types 2022-08-11 10:37:30 +08:00
ObjectYAML [llvm] Use value instead of getValue (NFC) 2022-07-13 23:11:56 -07:00
Option
Passes Remove unnecessary includes of ManagedStatic.h 2022-07-07 14:29:20 +02:00
ProfileData [llvm] Use std::size instead of llvm::array_lengthof 2022-09-08 09:01:53 -06:00
Remarks Cleanup includes: DebugInfo & CodeGen 2022-03-12 17:26:40 +01:00
Support [AArch64] Add support for the Cortex-A715 CPU 2022-11-03 09:28:46 +00:00
TableGen [llvm] Use value instead of getValue (NFC) 2022-07-13 23:11:56 -07:00
Target [DirectX backend] Support global ctor for DXILBitcodeWriter. 2022-09-30 11:27:23 -07:00
Testing [llvm][Testing/ADT] Implement `IsStringMapEntry` testing matcher for verifying the entries in a `StringMap`. 2022-09-01 17:30:41 +00:00
TextAPI Use the range-based overload of llvm::sort where possible 2022-07-23 15:13:25 +02:00
Transforms [IntegerDivision][AMDGPU] Use CreateLogicalOr to block poison propagation. 2022-09-15 09:38:02 -07:00
XRay
tools Re-land "[llvm-exegesis] Support analyzing results from a different target." 2022-09-22 11:39:52 +02:00
CMakeLists.txt [test-suite][cmake] sort unit test targets 2022-05-16 16:55:40 -07:00
unittest.cfg.in