Original patch by Tobias Grosser, slightly modified by Sebastian Pop. llvm-svn: 170420
place tests here