summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGen/indirect-goto.c
Commit message (Collapse)AuthorAgeFilesLines
* Restore global static array in test caseGerolf Hoflehner2014-07-031-1/+1
| | | | llvm-svn: 212285
* Enable test/CodeGen/indirect-goto.c in 64b for local arraysGerolf Hoflehner2014-07-011-3/+2
| | | | | | | | | | | | | In 32b mode the reference count for block addresses is not zero. This prevents inlining and constant folding and causes the test to fail. Changing the triple allows runnning the test in 64b mode. The array in foo2 is now local instead of static until at lower optimization levels the interprocedural constant propagator is invoked before the global optimizer. llvm-svn: 212092
* Temporarily disable the indirect-goto.c test.Bob Wilson2014-07-011-1/+2
| | | | | | | llvm r212077 causes this test to fail. We need to reorder some passes and possibly make other changes to reenable the optimization being tested here. llvm-svn: 212091
* Avoid unneeded calls to opt/llvm-dis.Daniel Dunbar2010-04-021-1/+1
| | | | llvm-svn: 100236
* Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'.Daniel Dunbar2009-12-151-1/+1
| | | | | | | | | - This is designed to make it obvious that %clang_cc1 is a "test variable" which is substituted. It is '%clang_cc1' instead of '%clang -cc1' because it can be useful to redefine what gets run as 'clang -cc1' (for example, to set a default target). llvm-svn: 91446
* make this interpretable.Chris Lattner2009-10-291-1/+1
| | | | llvm-svn: 85487
* make this more interesting, test the static const array.Chris Lattner2009-10-291-5/+16
| | | | llvm-svn: 85464
* Rename clang to clang-cc.Daniel Dunbar2009-03-241-1/+1
| | | | | | Tests and drivers updated, still need to shuffle dirs. llvm-svn: 67602
* Force triple for codegen tests which have expectations on outputDaniel Dunbar2009-02-031-1/+1
| | | | | | types. llvm-svn: 63669
* Add CodeGen support for indirect goto.Daniel Dunbar2008-08-041-0/+20
- Follows emission scheme used by llvm-gcc, i.e. invent an id for each label whose address is taken and replace each indirect goto by a switch to each possible target. - Currently we emit a switch for each indirect goto instead of merging them as llvm-gcc does. llvm-svn: 54318
OpenPOWER on IntegriCloud