- Jun 27, 2011
-
-
Jakob Stoklund Olesen authored
Patch by Sanjoy Das! llvm-svn: 133910
-
Chandler Carruth authored
of a single if block. This is really annoying to track down and test. Silly changes to the test case caused it to stop showing up. I wish there were a more concrete way of asserting that a note attaches to the intended diagnostic. This fixes PR10195. llvm-svn: 133907
-
Chandler Carruth authored
arithmetic into a couple of common routines. Use these to make the messages more consistent in the various contexts, especially in terms of consistently diagnosing binary operators with invalid types on both the left- and right-hand side. Also, improve the grammar and wording of the messages some, handling both two pointers and two (different) types. The wording of function pointer arithmetic diagnostics still strikes me as poorly phrased, and I worry this makes them slightly more awkward if more consistent. I'm hoping to fix that with a follow-on patch and test case that will also make them more helpful when a typedef or template type parameter makes the type completely opaque. Suggestions on better wording are very welcome, thanks to Richard Smith for some initial help on that front. llvm-svn: 133906
-
Nick Lewycky authored
alloca that only holds a copy of a global and we're going to replace the users of the alloca with that global, just nuke the lifetime intrinsics. Part of PR10121. llvm-svn: 133905
-
Nick Lewycky authored
passes as well. llvm-svn: 133904
-
Jakob Stoklund Olesen authored
This allows for more live scratch registers which is needed to handle live ST registers before return and inline asm instructions. llvm-svn: 133903
-
Jakob Stoklund Olesen authored
Both become <earlyclobber> defs on the INLINEASM MachineInstr, but we now use two different asm operand kinds. The new Kind_Clobber is treated identically to the old Kind_RegDefEarlyClobber for now, but x87 floating point stack inline assembly does care about the difference. This will pop a register off the stack: asm("fstp %st" : : "t"(x) : "st"); While this will pop the input and push an output: asm("fst %st" : "=&t"(r) : "t"(x)); We need to know if ST0 was a clobber or an output operand, and we can't depend on <dead> flags for that. llvm-svn: 133902
-
Jakob Stoklund Olesen authored
The INLINEASM MachineInstrs have an immediate operand describing each original inline asm operand. Decode the bits in MachineInstr::print() so it is easier to read: INLINEASM <es:rorq $1,$0>, $0:[regdef], %vreg0<def>, %vreg1<def>, $1:[imm], 1, $2:[reguse] [tiedto:$0], %vreg2, %vreg3, $3:[regdef-ec], %EFLAGS<earlyclobber,imp-def> llvm-svn: 133901
-
Rafael Espindola authored
llvm-svn: 133900
-
Rafael Espindola authored
remove the analysis group. llvm-svn: 133899
-
Richard Smith authored
Fix PR10187: when diagnosing a two-phase-lookup-related failure, don't assert that any names we find are valid candidates for the call. llvm-svn: 133898
-
Rafael Espindola authored
llvm-svn: 133897
-
- Jun 26, 2011
-
-
Rafael Espindola authored
llvm-svn: 133896
-
Rafael Espindola authored
llvm-svn: 133895
-
Johnny Chen authored
llvm-svn: 133894
-
Johnny Chen authored
llvm-svn: 133893
-
Johnny Chen authored
llvm-svn: 133892
-
Johnny Chen authored
llvm-svn: 133891
-
Johnny Chen authored
llvm-svn: 133890
-
Johnny Chen authored
llvm-svn: 133889
-
Rafael Espindola authored
llvm-svn: 133886
-
- Jun 25, 2011
-
-
Johnny Chen authored
Move stl dir to now reside under lang/cpp. llvm-svn: 133884
-
Johnny Chen authored
llvm-svn: 133883
-
Johnny Chen authored
llvm-svn: 133882
-
Johnny Chen authored
llvm-svn: 133881
-
Johnny Chen authored
llvm-svn: 133880
-
Johnny Chen authored
llvm-svn: 133879
-
Johnny Chen authored
llvm-svn: 133878
-
Johnny Chen authored
llvm-svn: 133877
-
Johnny Chen authored
llvm-svn: 133876
-
Dan Bailey authored
llvm-svn: 133875
-
Chad Rosier authored
llvm-svn: 133874
-
Dan Bailey authored
The .b8 operations in PTX are far more limiting than I first thought. The mov operation isn't even supported, so there's no way of converting a .pred value into a .b8 without going via .b16, which is not sensible. An improved implementation needs to use the fact that loads and stores automatically extend and truncate to implement support for EXTLOAD and TRUNCSTORE in order to correctly support boolean values. llvm-svn: 133873
-
Michael J. Spencer authored
llvm-svn: 133872
-
Michael J. Spencer authored
llvm-svn: 133871
-
Michael J. Spencer authored
llvm-svn: 133870
-
Michael J. Spencer authored
llvm-svn: 133869
-
Michael J. Spencer authored
llvm-svn: 133868
-
Nick Lewycky authored
pointing to the range [first character, last character] instead of just not after the last character. Patch by Yan Ivnitskiy! llvm-svn: 133867
-
Greg Clayton authored
llvm-svn: 133865
-