llvm-6502/test
Bob Wilson 53624a2df5 Refactor and check "onlyReadsMemory" before optimizing builtins.
This patch is mostly just refactoring a bunch of copy-and-pasted code, but
it also adds a check that the call instructions are readnone or readonly.
That check was already present for sin, cos, sqrt, log2, and exp2 calls, but
it was missing for the rest of the builtins being handled in this code.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@161282 91177308-0d34-0410-b5e6-96231b3b80d8
2012-08-03 23:29:17 +00:00
..
Analysis Stay rational; don't assert trying to take the square root of a negative value. 2012-08-01 09:14:36 +00:00
Archive
Assembler
Bindings/Ocaml
Bitcode More replacing of target-dependent intrinsics with target-indepdent 2012-07-18 00:02:16 +00:00
BugPoint
CodeGen Refactor and check "onlyReadsMemory" before optimizing builtins. 2012-08-03 23:29:17 +00:00
DebugInfo Temporarily revert c23b933d5f. It's causing 2012-08-01 18:19:01 +00:00
ExecutionEngine
Feature
Instrumentation revert r160742: it's breaking CMake build 2012-07-25 18:49:28 +00:00
Integer
Linker
MC Support fpv4 for ARM Cortex-M4. 2012-08-02 08:35:55 +00:00
Object Move test yaml files under Inputs until they are converted to be the actual 2012-08-02 21:52:49 +00:00
Other
Scripts
TableGen
Transforms When constant folding GEP expressions, keep the address space information of pointers. 2012-07-30 07:25:20 +00:00
Unit
Verifier Fix a typo (the the => the) 2012-07-23 08:51:15 +00:00
YAMLParser
CMakeLists.txt [CMake] Add yaml2obj to check-llvm. 2012-08-03 00:45:32 +00:00
lit.cfg
lit.site.cfg.in
Makefile fix 'make check' when ocamlopt returns the compiler path with CFLAGS (and there's a cflag with a = char) 2012-08-01 15:50:34 +00:00
Makefile.tests
TestRunner.sh