about summary refs log tree commit diff
path: root/src/test/codegen
AgeCommit message (Collapse)AuthorLines
2013-10-10Add `pub` to all the codegen testsAlex Crichton-13/+13
Otherwise the test function is internalized and LLVM will most likely optimize it out.
2013-08-17Fix warnings it testsErick Tryzelaar-1/+1
2013-08-10Elide unnecessary ret slot allocasBjörn Steinbrink-0/+28
When there is only a single store to the ret slot that dominates the load that gets the value for the "ret" instruction, we can elide the ret slot and directly return the operand of the dominating store instruction. This is the same thing that clang does, except for a special case that doesn't seem to affect us. Fixes #8238
2013-07-31test: add more codegen tests, add copyright headers to all.Graydon Hoare-0/+268
2013-07-16test: new codegen tests, rename hello.Graydon Hoare-0/+65
2013-07-11wire up makefile to run codegen tests and add one to startGraydon Hoare-0/+16