Heaven sometimes crashes when loading with an error output :
LLVM ERROR: Cannot select: target intrinsic %llvm.AMDIL.mad
I can partially reproduce this bug.
It happens from time to time on Heaven start.
To reproduce it I use the Heaven launcher (using Archlinux AUR package), just
untick fullscreen checkbox and choose 1024x768 and click run.
If the crash is not triggered I close the unigine render window and just click
once again "Run" and so on.
It happens about once every 10 runs when I test. (I know it's not convenient at
all to reproduce it but it is a very rare bug...) I also had it once with
Heroes of Newerth.
using R600_LLVM=0, radeon seems to be not hit by this problem.
Using git head and r600g on BARTS HD6870.
I might also add that I use these env vars (some are probably outdated...)
R600_ENABLE_S3TC=1
R600_GLSL130=1
R600_STREAMOUT=1
Using Xorg 1.13 and linux 3.6.3