aboutsummaryrefslogtreecommitdiffstats
path: root/tools/llvm-stress
Commit message (Collapse)AuthorAgeFilesLines
* Do not convert between fp128 <-> ppc_fp128 since there is no legal cast ↵Nadav Rotem2012-04-151-9/+12
| | | | | | | | | | conversion between the two. Patch by nobled <nobled@dreamwidth.org> git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@154772 91177308-0d34-0410-b5e6-96231b3b80d8
* llvm-stress: stop abusing ConstantFP::get()Dylan Noblesmith2012-04-101-5/+29
| | | | | | | | | | | | | | | | ConstantFP::get(Type*, double) is unreliably host-specific: it can't handle a type like PPC128 on an x86 host. It even has a comment to that effect: "This should only be used for simple constant values like 2.0/1.0 etc, that are known-valid both as host double and as the target format." Instead, use APFloat. While we're at it, randomize the floating point value more thoroughly; it was previously limited to the range 0 to 2**19 - 1. PR12451. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@154446 91177308-0d34-0410-b5e6-96231b3b80d8
* llvm-stress: don't make vectors of x86_mmx typeDylan Noblesmith2012-04-101-1/+7
| | | | | | | | | | | | LangRef.html says: "There are no arrays, vectors or constants of this type." This was hitting assertions when passing the -generate-x86-mmx option. PR12452. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@154445 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix some stray semi-colons.Daniel Dunbar2012-02-291-3/+3
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@151680 91177308-0d34-0410-b5e6-96231b3b80d8
* Allow llvm-stress to optionally generate the other floating-point types ↵Hal Finkel2012-02-271-14/+40
| | | | | | (half, ppcf128, mmx, etc.) git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@151596 91177308-0d34-0410-b5e6-96231b3b80d8
* Add support for random constant vectors.Nadav Rotem2012-02-261-1/+23
| | | | | | | | Patch by Joey Gouly. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@151489 91177308-0d34-0410-b5e6-96231b3b80d8
* Style fix: Remove unneeded parentheses.Nadav Rotem2012-02-261-2/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@151488 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix a bug in the code that checks if a store value is a vector of i1sNadav Rotem2012-02-261-1/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@151487 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix compilation on MSVC. Rename "_BB" to "Block"Nadav Rotem2012-02-261-2/+2
| | | | | | | | Thanks zygoloid. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@151481 91177308-0d34-0410-b5e6-96231b3b80d8
* fix a copy-and-paste error in the docsNadav Rotem2012-02-261-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@151480 91177308-0d34-0410-b5e6-96231b3b80d8
* Add a random .LL file generator to stress-test different llvm components.Nadav Rotem2012-02-264-0/+668
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@151479 91177308-0d34-0410-b5e6-96231b3b80d8