Kai Nacke
230e174c5f
Add predefined version identifier for float ABI.
2014-03-23 15:27:07 +01:00
kai
f8a53ab3dc
Merge branch 'merge-2.064' into merge-2.065
...
Conflicts:
runtime/druntime
2014-03-12 18:27:43 +01:00
kai
6442d79b8b
Finally enable the vectorizer (at least in LLVM 3.5).
...
It still requires verification if this works with LLVM 3.4. Problem was the changed
initialisation of passes in LLVM 3.4/3.5.
2014-03-12 17:12:25 +01:00
kai
2f2fa92df3
Fix includes for LLVM 3.5
2014-03-07 06:40:39 +01:00
Kai Nacke
82ec8e9468
Merge branch 'merge-2.064' into merge-2.065
...
Conflicts:
dmd2/cond.c
2014-03-05 19:10:46 +01:00
Kai Nacke
5b14a5e5c4
Merge branch 'master' into merge-2.064
2014-03-05 19:08:50 +01:00
Kai Nacke
6e908ff525
Add new architecture aarch64_be.
2014-03-05 19:01:43 +01:00
Kai Nacke
860ac74415
NVPTX/NVPTX64 is not available in LLVM 3.1.
2014-03-05 18:54:01 +01:00
Kai Nacke
7f44320dd0
Merge branch 'master' into merge-2.064
2014-03-05 18:48:11 +01:00
Kai Nacke
e735efc6aa
Add version identifier for Nvidia PTX.
2014-03-05 18:47:28 +01:00
Kai Nacke
fe39da53e3
Merge of 2.065.0-b3.
...
The new visitor class is used for IR generation. This removes some modifications from DMD source.
2014-02-10 08:47:25 +01:00
Kai Nacke
bdc1f44088
Merge remote-tracking branch 'origin/master' into merge-2.064
...
Conflicts:
gen/runtime.cpp
runtime/CMakeLists.txt
2013-12-08 19:29:10 +01:00
Kai Nacke
a2d7c9f3ed
Only define version Android if compiling for this environment.
...
Android is a variant of Linux. In order to simplify the version coding,
only version Android is defined (version linux and version Posix are not).
2013-12-08 15:29:10 +01:00
Kai Nacke
9c590a1b88
Merge branch 'master' into merge-2.064
2013-12-03 18:10:29 +01:00
Kai Nacke
cc22116993
Add Android version identifier
2013-12-03 16:47:22 +01:00
Kai Nacke
eb85713ed1
Merge branch 'master' into merge-2.064
2013-11-27 22:46:38 +01:00
Kai Nacke
d7d0ebb65c
Add new version identifiers if a sanitizer is specified.
2013-11-27 22:43:59 +01:00
David Nadlinger
cb341586e3
First merge of 2.064 beta.
...
This corresponds to DMD commit a913ce4bc59a94a022a27e390fc841f4aededffb.
Doesn't build Phobos yet.
2013-10-29 19:21:15 +01:00
Kai Nacke
287e089927
Add info to -version if compiled with address sanitizer
2013-10-23 02:53:53 +02:00
David Nadlinger
f8531f1b3c
Add 'v' back in at beginning of global.version.
...
The lexer expects it to be there for handling __VERSION__.
2013-10-20 23:51:34 +02:00
David Nadlinger
fd012bb002
Hide obsucre LLVM flags on versions that support it.
...
The idea is to hide any flags that an end user is unlikely
to need so that the -help output gets clearer. Some of the
flags are also downright confusing, as they seem similar
to unrelated D concepts. The hidden flags are still
available using -help-hidden.
Unfortunately, this is only possible on LLVM 3.3+.
2013-10-15 01:50:44 +02:00
David Nadlinger
00bb7f5c2e
Merge pull request #508 from klickverbot/mcpu-mattr-help
...
Display -mcpu/-mattr help even with no source files given.
2013-10-13 12:17:46 -07:00
David Nadlinger
40cb10edf1
Merge pull request #509 from klickverbot/fix-disable-fp-elim
...
Bring back -disable-fp-elim.
2013-10-13 12:17:19 -07:00
David Nadlinger
257da5afe5
Bring back -disable-fp-elim.
...
It was moved to llvm/CodeGen/CommandLineFlags.h.
GitHub: Fixes #502 .
2013-10-13 20:26:19 +02:00
David Nadlinger
54aa182f72
Remove Walter-ism that doesn't even work in release mode.
2013-10-13 20:16:40 +02:00
David Nadlinger
c466796b93
Display -mcpu/-mattr help even with no source files given.
...
Unfortunately, we can't easily add a test for this in our
current test runner setup (i.e. dmd-testsuite).
GitHub: Fixes #505 .
2013-10-13 20:16:08 +02:00
David Nadlinger
1242be25d0
Remove unused, empty Ir type.
...
The codegen parameter was changed to IRState instead of
removing it to set the stage for an eventual eradication
of the gIR global.
2013-10-13 19:44:29 +02:00
kai
7226f005b7
Fix Windows build with MSVC.
2013-10-07 18:10:53 +02:00
David Nadlinger
422715fc89
Add -float-abi switch and auto-detection for ARM.
...
This is based on the implementation that was reverted in
fc8e0c4c20
.
2013-10-06 07:39:12 +02:00
David Nadlinger
b2b56203a9
Use llvm::Triple::isArch64Bit (LLVM 3.1+).
2013-10-06 01:33:29 +02:00
David Nadlinger
639bc0ab71
Removed a few fatal() calls in argument parsing code.
...
global.errors is checked immediately after return anyway.
2013-10-06 01:33:29 +02:00
David Nadlinger
b94ed4092e
De-ancient-C-ification, spelled out EXIT_SUCCESS.
2013-10-06 01:33:29 +02:00
David Nadlinger
7e74f65b32
Also factored out argument parsing to separate function.
...
The code is still messy, but we have to start somewhere...
2013-10-06 01:33:28 +02:00
David Nadlinger
cc11af3473
Factored predefined version handling code out of main().
2013-10-06 01:33:28 +02:00
David Nadlinger
71c67457c3
Cleanup: Kill backend_init/term.
2013-10-06 01:33:28 +02:00
David Nadlinger
177b892bf0
Cleanup: We don't support DMC.
2013-10-06 01:33:28 +02:00
David Nadlinger
68c272d6d9
Renamed driver/target to .../targetmachine to avoid confusion with the frontend file.
2013-10-06 01:33:28 +02:00
kai
fc24bd15ca
Add version identifier for AArch64
2013-09-07 18:17:02 +02:00
Alexey Prokhin
54078eca66
Set global.params.isOS variables so we do not have to modify dmd frontend to use targetTriple
2013-07-29 18:49:09 +04:00
Alexey Prokhin
69e7907875
Move implementation of Module::buildTargetFiles and Module::buildFilePath to gem/module.cpp
2013-07-28 21:17:25 +04:00
kai
aa143b560c
Include Git revision in version info.
...
CMakeLists.txt contains now the version numbers for DMD and (next) LDC release.
If a .git folder is found then the LDC version is replaced by the first 6 chars
of the Git revision.
Possible improvements:
- If the build is not done at the master branch then it could be useful to check for a tag and use the tag instead of the revision. (for release builds)
- Maybe it is useful to include the branch name.
This fixes issue #366 .
2013-06-21 06:47:32 +02:00
David Nadlinger
235bb94878
Make -release only disable bounds checking in non-@safe code.
2013-06-17 13:31:21 +02:00
David Nadlinger
68798f06c8
Accept '.dd' pure DDoc files.
2013-06-16 00:39:47 +02:00
David Nadlinger
46b6fdd531
Implement '-main'.
2013-06-15 23:09:59 +02:00
David Nadlinger
fd3c696d94
Call Expression::init() during startup.
...
Was added in 2.063.
2013-06-12 20:16:37 +02:00
David Nadlinger
292caa1438
Merge the 2.063 frontend.
2013-06-12 20:16:37 +02:00
David Nadlinger
c02b38fe9a
Removed LLVM 3.0 compatibility code.
...
There might be still some pieces left here and there, and
there is certainly code that could be rewritten in a nicer
way with the 3.0 requirement out of the picture.
2013-05-31 20:48:38 +02:00
Hans W. Uhlig
4f6204f191
Adding Space to Literal
2013-05-28 17:38:09 -07:00
David Nadlinger
edbace8ae8
Default to PIC on OS X.
...
driver/target.h is due for a refactoring after the next
release is branched off.
2013-05-19 21:19:37 +02:00
David Nadlinger
fc8e0c4c20
Revert -float-abi implementation.
...
The new command line option conflicted with a builtin LLVM 3.0
one. The functionality will be added back in after the 0.11.0
release branch has been created.
This reverts commit 6a1bc70bd7
and
subsequent fixes.
2013-05-12 00:18:44 +02:00