OSDN Git Service

Disable unsafe FP math optimizations for LLVM 7.0.
authorNicolas Capens <capn@google.com>
Thu, 13 Sep 2018 18:20:06 +0000 (14:20 -0400)
committerNicolas Capens <nicolascapens@google.com>
Thu, 13 Sep 2018 21:46:47 +0000 (21:46 +0000)
commita764381ef9f363d0991e2aba5e1b7b44fbe8de0c
treed277d2118430a5710cd354b9f50e0c35814c1bf1
parent52551d1cd8b62a4a355b5371450757f0ab67a201
Disable unsafe FP math optimizations for LLVM 7.0.

Failures in dEQP using SwiftShader with LLVM 7.0 were caused by unsafe
floating point math optimizations, which are more aggressive than with
LLVM 3.0.

Bug b/115344057

Change-Id: Idf564d0193efba37cd1192a188b18a5f8b4ed4f7
Reviewed-on: https://swiftshader-review.googlesource.com/20708
Tested-by: Nicolas Capens <nicolascapens@google.com>
Reviewed-by: Shannon Woods <shannonwoods@google.com>
src/Reactor/LLVMReactor.cpp