summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target
diff options
context:
space:
mode:
authorSaleem Abdulrasool <compnerd@compnerd.org>2017-10-17 03:30:25 +0000
committerSaleem Abdulrasool <compnerd@compnerd.org>2017-10-17 03:30:25 +0000
commit4e319ca894be92e484ca1f9bbe44c12a7f601d4b (patch)
tree9096fef4ef19b693d8e5f9db8fee27732ad10b9f /llvm/lib/Target
parentef96986a1f8f47a67937c56564524e20e3903946 (diff)
downloadbcm5719-llvm-4e319ca894be92e484ca1f9bbe44c12a7f601d4b.tar.gz
bcm5719-llvm-4e319ca894be92e484ca1f9bbe44c12a7f601d4b.zip
Basic: make the nan family pure
The nan family of math routines do not rely on global state. They do however depend on their parameter. This fits the description of pure: Functions which have no effects except the return value and their return value depends only on the parameters and/or global variables. Mark the family as `readonly`. llvm-svn: 315968
Diffstat (limited to 'llvm/lib/Target')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud