- Feb 03, 2010
-
-
Douglas Gregor authored
lvalue-to-rvalue conversion adjusts lvalues of qualified, non-class type to rvalue expressions of the unqualified variant of that type. For example, given: const int i; (void)(i + 17); the lvalue-to-rvalue conversion for the subexpression "i" will turn it from an lvalue expression (a DeclRefExpr) with type 'const int' into an rvalue expression with type 'int'. Both C and C++ mandate this conversion, and somehow we've slid through without implementing it. We now have both DefaultFunctionArrayConversion and DefaultFunctionArrayLvalueConversion, and which gets used depends on whether we do the lvalue-to-rvalue conversion or not. Generally, we do the lvalue-to-rvalue conversion, but there are a few notable exceptions: - the left-hand side of a '.' operator - the left-hand side of an assignment - a C++ throw expression - a subscript expression that's subscripting a vector Making this change exposed two issues with blocks: - we were deducing const-qualified return types of non-class type from a block return, which doesn't fit well - we weren't always setting the known return type of a block when it was provided with the ^return-type syntax Fixes the current Clang-on-Clang compile failure and PR6076. llvm-svn: 95167
-
Chris Lattner authored
stderr if in filetype=obj mode. This is a hack, and will live until dwarf emission and other random stuff that is not yet going through MCStreamer is upgraded. It only impacts filetype=obj mode. llvm-svn: 95166
-
Eric Christopher authored
llvm-svn: 95165
-
Fariborz Jahanian authored
declaration. Fixes radar 7590273. llvm-svn: 95164
-
Evan Cheng authored
ByVal frame object size should be that of the byval argument, not the size of the type which is just a pointer. This is not known to break stuff but is wrong nevertheless. llvm-svn: 95163
-
Chris Lattner authored
$ cat t.ll @g = global i32 42 $ llc t.ll -o t.o -filetype=obj $ nm t.o 00000000 D _g There is still a ton of work left. Instructions are not being encoded yet apparently. llvm-svn: 95162
-
Jim Grosbach authored
even when -disable-fp-elim is specified. llvm-svn: 95161
-
Evan Cheng authored
llvm-svn: 95160
-
Dale Johannesen authored
llvm-svn: 95159
-
Daniel Dunbar authored
some mechanism for specifying alternative syntaxes, but I'm not sure what form that should take yet. llvm-svn: 95158
-
Daniel Dunbar authored
is still deterministic even amongst ambiguous instructions (eventually ambiguous match orders will be a hard error, but we aren't there yet). llvm-svn: 95157
-
Chris Lattner authored
llvm-svn: 95156
-
Chris Lattner authored
mccontext instead of having AsmPrinter do it. This allows other types of MCStreamer's to be passed in. llvm-svn: 95155
-
Eric Christopher authored
llvm-svn: 95154
-
- Feb 02, 2010
-
-
Chris Lattner authored
llvm-svn: 95153
-
Chris Lattner authored
move handling of asm-verbose out of AsmPrinter.cpp into LLVMTargetMachine.cpp with the rest of the command line options. llvm-svn: 95152
-
Ted Kremenek authored
Remove RegionStoreSubRegionMap::iterator and RegionStoreSubRegionMap::begin_end(). This is a precursor to using DenseSet to represent region sets instead of ImmutableSet. llvm-svn: 95151
-
Chris Lattner authored
llvm-svn: 95150
-
Chris Lattner authored
It's unclear if the matcher is nondeterminstic of what here, but I'm getting matches without TAILCALL and some other hosts are getting matches with it. llvm-svn: 95149
-
Chris Lattner authored
Now the only use of the ELF writer is the JIT, which won't be easy to fix in the short term. :( :( llvm-svn: 95148
-
Eric Christopher authored
llvm-svn: 95147
-
Chris Lattner authored
llvm-svn: 95146
-
Eric Christopher authored
Passed bootstrap and nightly test run here. llvm-svn: 95145
-
Chris Lattner authored
llvm-svn: 95144
-
Daniel Dunbar authored
instructions exactly like 'as', and produce equivalent .o files. llvm-svn: 95143
-
Chris Lattner authored
llvm-svn: 95142
-
Chris Lattner authored
llvm-svn: 95141
-
Chris Lattner authored
llvm-svn: 95140
-
Chris Lattner authored
llvm-svn: 95138
-
Daniel Dunbar authored
== 1. llvm-svn: 95137
-
Daniel Dunbar authored
MCMachineInstr. This also fixes handling of tied registers for MRMSrcMem instructions. llvm-svn: 95136
-
Daniel Dunbar authored
llvm-svn: 95135
-
Chris Lattner authored
llvm-svn: 95134
-
Chris Lattner authored
llvm-svn: 95133
-
Nick Kledzik authored
llvm-svn: 95132
-
Chris Lattner authored
eliminate random "code emitter" stuff in Alpha, except for the JIT path. Next up, remove the template cruft. llvm-svn: 95131
-
Evan Cheng authored
llvm-svn: 95130
-
Ted Kremenek authored
llvm-svn: 95128
-
Dan Gohman authored
llvm-svn: 95127
-
Dan Gohman authored
llvm-svn: 95126
-