summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGen/conditional.c
Commit message (Collapse)AuthorAgeFilesLines
* Fix an edge case in IRGen for conditionals. PR11509.Eli Friedman2011-12-081-0/+6
| | | | llvm-svn: 146189
* fix rdar://9289603 - clang should fold trivial ?: for enums as well as ↵Chris Lattner2011-04-161-1/+20
| | | | | | | | integer constants into select at -O0 by making the isCheapEnoughToEvaluateUnconditionally predicate handle anything that folds to a constant. In particular, we now fold enums. llvm-svn: 129649
* 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
* PR5526: Make sure to set the right cast kinds for the inserted implicit casts.Eli Friedman2009-11-171-0/+8
| | | | llvm-svn: 89023
* Remove tabs, and whitespace cleanups.Mike Stump2009-09-091-12/+9
| | | | llvm-svn: 81346
* Rename clang to clang-cc.Daniel Dunbar2009-03-241-1/+1
| | | | | | Tests and drivers updated, still need to shuffle dirs. llvm-svn: 67602
* Update a number of CodeGen tests to not create .ll files in the testDaniel Dunbar2008-08-211-1/+1
| | | | | | | | directory. - Removed .ll from the svn:ignore lists to try and prevent this. - Added svn:ignore on test/Misc/Output llvm-svn: 55104
* fix crash when codegening 'cond ? lhs : call-to-void-func()'Nuno Lopes2008-06-041-0/+12
| | | | llvm-svn: 51958
* Patch for PR2334, and a similar ObjC bug.Eli Friedman2008-05-161-0/+5
| | | | llvm-svn: 51193
* Basic codegen test for conditional with void*.Eli Friedman2008-02-101-0/+6
| | | | llvm-svn: 46940
* Fix codegen for conditionals with incommpatible pointer types. Code Eli Friedman2008-01-301-0/+4
| | | | | | | that causes this isn't really correct, but if we're going to accept this, it should come up with a consistent AST. llvm-svn: 46557
* Fix a codegen crash on void ?: reported by OliverChris Lattner2007-11-301-0/+7
| | | | llvm-svn: 44454
* this works.Chris Lattner2007-11-261-2/+0
| | | | llvm-svn: 44321
* Check in these testcases.Chris Lattner2007-07-131-0/+12
llvm-svn: 39829
OpenPOWER on IntegriCloud