- May 06, 2013
-
-
Bill Wendling authored
pointers or not depending upon the function attributes. llvm-svn: 181180
-
Rafael Espindola authored
Looks like symbol resolution is not working on cygwin, the test fails because __gxx_personality_v0 is not found. llvm-svn: 181179
-
Nadav Rotem authored
llvm-svn: 181178
-
Nadav Rotem authored
Thanks Nick Lewycky for pointing this out. llvm-svn: 181177
-
Matt Arsenault authored
Use unknown results for places where it would be needed llvm-svn: 181176
-
Rafael Espindola authored
We used to disable constant merging not only if a constant is llvm.used, but also if an alias of a constant is llvm.used. This change fixes that. llvm-svn: 181175
-
Richard Smith authored
Fix assert if __extension__ or _Generic is used when initializing a char array from a string literal. llvm-svn: 181174
-
Richard Smith authored
llvm-svn: 181173
-
Rafael Espindola authored
We currently have no way to register new eh frames on ARM. llvm-svn: 181172
-
- May 05, 2013
-
-
Rafael Espindola authored
llvm-svn: 181171
-
Richard Smith authored
assignments in constant expressions. No significant functionality changes (slight improvement to potential constant expression checking). llvm-svn: 181170
-
Rafael Espindola authored
It looks like eh uses an unimplemented relocation on pp64 llvm-svn: 181169
-
Rafael Espindola authored
llvm-svn: 181168
-
Rafael Espindola authored
This gets exception handling working on ELF and Macho (x86-64 at least). Other than the EH frame registration, this patch also implements support for GOT relocations which are used to locate the personality function on MachO. llvm-svn: 181167
-
Dmitri Gribenko authored
llvm-svn: 181166
-
Rafael Espindola authored
I was not able to find a case (other than the fix in r181163) where this makes a difference, but it is a more obviously correct API to have. llvm-svn: 181165
-
Dmitri Gribenko authored
Patch by Robert Wilhelm. llvm-svn: 181164
-
Rafael Espindola authored
This fixes pr14958. I will audit other calls to isExternCContext to see if there are any similar bugs left. llvm-svn: 181163
-
-
Evan Cheng authored
indirect branch at the end of the BB. Otherwise if-converter, branch folding pass may incorrectly update its successor info if it consider BB as fallthrough to the next BB. rdar://13782395 llvm-svn: 181161
-
-
Richard Smith authored
llvm-svn: 181159
-
Richard Smith authored
llvm-svn: 181158
-
Benjamin Kramer authored
llvm-svn: 181157
-
Richard Osborne authored
Disassembler support has recently been added. Fill in some other unknowns at the same time. llvm-svn: 181156
-
Richard Osborne authored
With the change the disassembler now supports the XCore ISA in its entirety. llvm-svn: 181155
-
Richard Osborne authored
llvm-svn: 181154
-
Richard Osborne authored
No functionality change. llvm-svn: 181153
-
Richard Osborne authored
llvm-svn: 181152
-
Richard Osborne authored
Instead operands are treated as negative immediates where the sign bit is implicit in the instruction encoding. llvm-svn: 181151
-
Benjamin Kramer authored
llvm-svn: 181150
-
Benjamin Kramer authored
No functionality change. llvm-svn: 181149
-
Stepan Dyatkovskiy authored
Now even the small structures could be passed within byval (small enough to be stored in GPRs). In regression tests next function prototypes are checked: PR15293: %artz = type { i32 } define void @foo(%artz* byval %s) define void @foo2(%artz* byval %s, i32 %p, %artz* byval %s2) foo: "s" stored in R0 foo2: "s" stored in R0, "s2" stored in R2. Next AAPCS rules are checked: 5.5 Parameters Passing, C.4 and C.5, "ParamSize" is parameter size in 32bit words: -- NSAA != 0, NCRN < R4 and NCRN+ParamSize > R4. Parameter should be sent to the stack; NCRN := R4. -- NSAA != 0, and NCRN < R4, NCRN+ParamSize < R4. Parameter stored in GPRs; NCRN += ParamSize. llvm-svn: 181148
-
Arnold Schwaighofer authored
llvm-svn: 181147
-
Arnold Schwaighofer authored
llvm-svn: 181146
-
David Majnemer authored
X86ISelLowering has support to treat: (icmp ne (and (xor %flags, -1), (shl 1, flag)), 0) as if it were actually: (icmp eq (and %flags, (shl 1, flag)), 0) However, r179386 has code at the InstCombine level to handle this. llvm-svn: 181145
-
Arnold Schwaighofer authored
Add support for min/max reductions when "no-nans-float-math" is enabled. This allows us to assume we have ordered floating point math and treat ordered and unordered predicates equally. radar://13723044 llvm-svn: 181144
-
Arnold Schwaighofer authored
Add support for matching 'ordered' and 'unordered' floating point min/max constructs. In LLVM we can express min/max functions as a combination of compare and select. We have support for matching such constructs for integers but not for floating point. In floating point math there is no total order because of the presence of 'NaN'. Therefore, we have to be careful to preserve the original fcmp semantics when interpreting floating point compare select combinations as a minimum or maximum function. The resulting 'ordered/unordered' floating point maximum function has to select the same value as the select/fcmp combination it is based on. ordered_max(x,y) = max(x,y) iff x and y are not NaN, y otherwise unordered_max(x,y) = max(x,y) iff x and y are not NaN, x otherwise ordered_min(x,y) = min(x,y) iff x and y are not NaN, y otherwise unordered_min(x,y) = min(x,y) iff x and y are not NaN, x otherwise This matches the behavior of the underlying select(fcmp(olt/ult/.., L, R), L, R) construct. Any code using this predicate has to preserve this semantics. A follow-up patch will use this to implement floating point min/max reductions in the vectorizer. radar://13723044 llvm-svn: 181143
-
Arnold Schwaighofer authored
No need for setting the operands. The pointers are going to be bound by the matcher. radar://13723044 llvm-svn: 181142
-
Arnold Schwaighofer authored
We can just use the initial element that feeds the reduction. max(max(x, y), z) == max(max(x,y), max(x,z)) radar://13723044 llvm-svn: 181141
-