OSDN Git Service

Make it possible to indicate relaxed floating point requirements at the IR level
authorDuncan Sands <baldrick@free.fr>
Mon, 16 Apr 2012 16:28:59 +0000 (16:28 +0000)
committerDuncan Sands <baldrick@free.fr>
Mon, 16 Apr 2012 16:28:59 +0000 (16:28 +0000)
commit8883c43ddc13e5f92ba8dfe00f2116a153a570d5
tree40b5bad6be11275bb56cb7f227d1e4ee6544718d
parent9e67db4af13abb967cae5858502207a43d26bf84
Make it possible to indicate relaxed floating point requirements at the IR level
through the use of 'fpmath' metadata.  Currently this only provides a 'fpaccuracy'
value, which may be a number in ULPs or the keyword 'fast', however the intent is
that this will be extended with additional information about NaN's, infinities
etc later.  No optimizations have been hooked up to this so far.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@154822 91177308-0d34-0410-b5e6-96231b3b80d8
docs/LangRef.html
docs/ReleaseNotes.html
include/llvm/Operator.h
include/llvm/Support/IRBuilder.h
include/llvm/Support/MDBuilder.h
lib/VMCore/Instructions.cpp
lib/VMCore/Verifier.cpp
test/Verifier/fpmath.ll
unittests/Support/MDBuilderTest.cpp
unittests/VMCore/InstructionsTest.cpp