1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-25 04:02:41 +01:00
llvm-mirror/lib/TableGen
Matt Arsenault bd927a4ea1 TableGen: Support folding casts from bits to int
This is to fix an incorrect error when trying to initialize
DwarfNumbers with a !cast<int> of a bits initializer.
getValuesAsListOfInts("DwarfNumbers") would not see an IntInit
and instead the cast, so would give up.

It seems likely that this could be generalized to attempt
the convertInitializerTo for any type. I'm not really sure
why the existing code seems to special case the string cast cases
when convertInitializerTo seems like it should generally handle this
sort of thing.

llvm-svn: 243722
2015-07-31 01:12:06 +00:00
..
CMakeLists.txt Use ADDITIONAL_HEADER_DIRS in all LLVM CMake projects. 2015-02-11 03:28:02 +00:00
Error.cpp Fix tablegen's PrintFatalError function to run registered file 2015-05-11 22:17:13 +00:00
LLVMBuild.txt
Main.cpp [TableGen] Include header for each cpp file first. NFC 2015-05-26 06:48:46 +00:00
Makefile
module.modulemap
Record.cpp TableGen: Support folding casts from bits to int 2015-07-31 01:12:06 +00:00
SetTheory.cpp [TableGen] Emit the correct error message. 2015-07-27 17:22:19 +00:00
StringMatcher.cpp
TableGenBackend.cpp [TableGen] Fix line wrapping logic for the autogenerated header to use math that makes more sense (at least to me). 2015-05-26 08:07:56 +00:00
TGLexer.cpp
TGLexer.h Revert r240137 (Fixed/added namespace ending comments using clang-tidy. NFC) 2015-06-23 09:49:53 +00:00
TGParser.cpp [TableGen] Change a couple methods to return an ArrayRef instead of a const std::vector reference. NFC 2015-07-06 06:23:01 +00:00
TGParser.h [TableGen] Resolve complex def names inside multiclasses 2015-05-21 04:32:56 +00:00