llvm/lib
David Blaikie 5e2e6f2855 [opaque pointer type] bitcode support for explicit type parameter to the load instruction
Summary:
I've taken my best guess at this, but I've cargo culted in places & so
explanations/corrections would be great.

This seems to pass all the tests (check-all, covering clang and llvm) so I
believe that pretty well exercises both the backwards compatibility and common
(same version) compatibility given the number of checked in bitcode files we
already have. Is that a reasonable approach to testing here? Would some more
explicit tests be desired?

1) is this the right way to do back-compat in this case (looking at the number
  of entries in the bitcode record to disambiguate between the old schema and
  the new?)

2) I don't quite understand the logarithm logic to choose the encoding type of
  the type parameter in the abbreviation description, but I found another
  instruction doing the same thing & it seems to work. Is that the right
  approach?

Reviewers: dexonsmith

Differential Revision: http://reviews.llvm.org/D7655

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@230414 91177308-0d34-0410-b5e6-96231b3b80d8
2015-02-25 01:07:20 +00:00
..
Analysis Revert r230280: "Bugfix: SCEVExpander incorrectly marks increment operations as no-wrap" 2015-02-24 16:19:29 +00:00
AsmParser AsmParser: Check ConstantExpr insertvalue operands for type correctness 2015-02-23 07:13:52 +00:00
Bitcode [opaque pointer type] bitcode support for explicit type parameter to the load instruction 2015-02-25 01:07:20 +00:00
CodeGen Support SHF_MERGE sections in COMDATs. 2015-02-25 00:52:15 +00:00
DebugInfo Revert "Raising minimum required CMake version to 2.8.12.2." 2015-02-24 16:39:46 +00:00
ExecutionEngine Revert "Raising minimum required CMake version to 2.8.12.2." 2015-02-24 16:39:46 +00:00
Fuzzer [fuzzer] one more experimental search mode: -use_coverage_pairs=1 2015-02-20 03:02:37 +00:00
IR Fix invalid cast. 2015-02-23 21:51:06 +00:00
IRReader Use ADDITIONAL_HEADER_DIRS in all LLVM CMake projects. 2015-02-11 03:28:02 +00:00
LineEditor Use ADDITIONAL_HEADER_DIRS in all LLVM CMake projects. 2015-02-11 03:28:02 +00:00
Linker [LTO API] add lto_codegen_set_module to set the destination module. 2015-02-24 00:45:56 +00:00
LTO [LTO API] add lto_codegen_set_module to set the destination module. 2015-02-24 00:45:56 +00:00
MC COFF: Add 'IMAGE_SCN_CNT_INITIALIZED_DATA' to all DWARF sections 2015-02-22 02:35:27 +00:00
Object [obj2yaml/yaml2obj] Add SHT_GROUP support. 2015-02-21 04:28:26 +00:00
Option Prefer SmallVector::append/insert over push_back loops. 2015-02-17 15:29:18 +00:00
ProfileData Disallow implicit conversions from None to integer types 2015-02-20 07:28:28 +00:00
Support Sync the __builtin_expects for our 3 quadratically probed hash table implementations. 2015-02-23 16:41:36 +00:00
TableGen MSVC 2013 does not ICE on this code in the same fashion that MSVC 2012 did; NFC. 2015-02-16 19:33:36 +00:00
Target [PowerPC] Add support for the QPX vector instruction set 2015-02-25 01:06:45 +00:00
Transforms LowerBitSets: Introduce global layout builder. 2015-02-24 23:17:02 +00:00
CMakeLists.txt
LLVMBuild.txt
Makefile Move DebugInfo to DebugInfo/DWARF. 2015-01-30 18:07:45 +00:00