1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 03:02:36 +01:00
llvm-mirror/unittests
Neil Henning 227698a9eb [IRBuilder] Fixup CreateIntrinsic to allow specifying Types to Mangle.
The IRBuilder CreateIntrinsic method wouldn't allow you to specify the
types that you wanted the intrinsic to be mangled with. To fix this
I've:

- Added an ArrayRef<Type *> member to both CreateIntrinsic overloads.
- Used that array to pass into the Intrinsic::getDeclaration call.
- Added a CreateUnaryIntrinsic to replace the most common use of
  CreateIntrinsic where the type was auto-deduced from operand 0.
- Added a bunch more unit tests to test Create*Intrinsic calls that
  weren't being tested (including the FMF flag that wasn't checked).

This was suggested as part of the AMDGPU specific atomic optimizer
review (https://reviews.llvm.org/D51969).

Differential Revision: https://reviews.llvm.org/D52087

llvm-svn: 343962
2018-10-08 10:32:33 +00:00
..
ADT [mips] Add support MIPS r6 Debian triples 2018-09-27 08:51:18 +00:00
Analysis [ValueTracking] Allow select patterns to work on FP vectors 2018-09-28 21:36:43 +00:00
AsmParser
BinaryFormat Fix comparison of char and int64 in TestWriteFixNegativeInt 2018-08-23 07:12:05 +00:00
Bitcode Pass a reference to a module to the bitcode writer. 2018-02-14 19:11:32 +00:00
CodeGen Move init code in AArch64SelectionDAGTest to SetUpTestCase (NFC) 2018-09-06 18:40:35 +00:00
DebugInfo Fix function signature to actually be an override. 2018-09-18 16:58:17 +00:00
Demangle Attempt to fix some MSVC build errors. 2018-08-13 17:39:19 +00:00
ExecutionEngine [ORC] Consume unhandled errors in unit test. 2018-10-07 01:08:02 +00:00
FuzzMutate [FuzzMutate] Inst deleter doesn't work with PhiNodes 2018-01-25 09:22:18 +00:00
IR [IRBuilder] Fixup CreateIntrinsic to allow specifying Types to Mangle. 2018-10-08 10:32:33 +00:00
LineEditor
Linker Inline a few CMake variables into their only uses. 2018-05-14 19:23:31 +00:00
MC [WebAssembly] Added default stack-only instruction mode for MC. 2018-08-27 15:45:51 +00:00
MI [LiveIntervals] Handle moving up dead partial write 2018-02-26 14:42:13 +00:00
Object
ObjectYAML
Option Revert r341329 due to MSAN error 2018-09-03 18:13:46 +00:00
Passes Revert "[cmake] Fix a unittest when LLVM_LINK_LLVM_DYLIB is requested." 2018-09-13 20:24:36 +00:00
ProfileData Use createTemporaryFile in SampleProfTest 2018-09-17 12:11:01 +00:00
Support [AArch64] -mcpu=native CPU detection for Cavium processors 2018-10-05 22:23:21 +00:00
Target [WebAssembly] Add WebAssemblyException information analysis 2018-06-25 01:20:21 +00:00
tools [llvm-exegesis][NFC] moving code around. 2018-09-27 09:23:04 +00:00
Transforms [LoopUnroll] Add check to Latch's terminator in UnrollRuntimeLoopRemainder 2018-09-25 10:08:47 +00:00
XRay Fix the build when LLVM_TARGETS_TO_BUILD is empty. 2018-09-19 21:36:26 +00:00
CMakeLists.txt Introduce explicit add_unittest_with_input_files target for tests that use llvm::getInputFileDirectory() 2018-09-14 17:34:46 +00:00
unittest.cfg.in Add support for unittest inputs. 2018-09-05 23:30:17 +00:00