summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGen/2008-07-31-promotion-of-compound-pointer-arithmetic.c
Commit message (Collapse)AuthorAgeFilesLines
* CHECK-LABEL-ify some code gen tests to improve diagnostic experience when ↵Stephen Lin2013-08-151-3/+3
| | | | | | tests fail. llvm-svn: 188447
* clang/test/CodeGen: Nuke llvm's opt and llvm-dis, and FileCheck-ize two ↵NAKAMURA Takumi2013-01-221-1/+7
| | | | | | tests. -O1 is sufficient here. llvm-svn: 173115
* 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
* 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
* Fix testcase for 64-bit systems.Sebastian Redl2008-11-121-3/+3
| | | | llvm-svn: 59099
* Fix CodeGen of pointer arithmetic in compound assignment statements.Daniel Dunbar2008-08-061-0/+25
- Changed EmitSub to work on all cases (arithmetic, ptr - int, ptr - ptr) so that implementation matches that of other operators. - Modify EmitCompoundAssign to compute and perform the appropriate casts of left, right, and result types for the assorted pointer arithmetic cases. - Fix EmitSub (ptr - int) case to negate the rhs *after* extension. This is critical when the rhs is unsigned (and needs extension). - This fixes cfrac. - <rdr://6115726> llvm-svn: 54392
OpenPOWER on IntegriCloud