mirror of
https://github.com/ldc-developers/ldc.git
synced 2025-04-29 22:50:53 +03:00
Raise min LLVM version to 3.9 (#2872)
This commit is contained in:
parent
18bbaa1895
commit
5c24f60cf9
77 changed files with 83 additions and 4146 deletions
|
@ -107,11 +107,7 @@ void processRecord(raw_ostream& os, Record& rec, string arch)
|
|||
replace(name.begin(), name.end(), '_', '.');
|
||||
name = string("llvm.") + name;
|
||||
|
||||
#if LDC_LLVM_VER >= 309
|
||||
ListInit* propsList = rec.getValueAsListInit("IntrProperties");
|
||||
#else
|
||||
ListInit* propsList = rec.getValueAsListInit("Properties");
|
||||
#endif
|
||||
string prop =
|
||||
propsList->size()
|
||||
? propsList->getElementAsRecord(0)->getName() : "";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue