- Jul 17, 2012
-
-
Nadav Rotem authored
When truncating a result of a vector that is split we need to use the result of the split vector, and not re-split the dead node. llvm-svn: 160357
-
Daniel Jasper authored
llvm-svn: 160356
-
Daniel Jasper authored
buildbot failures. llvm-svn: 160355
-
Evan Cheng authored
llvm-svn: 160354
-
Simon Atanasyan authored
llvm-svn: 160353
-
Simon Atanasyan authored
llvm-svn: 160352
-
Daniel Jasper authored
ASTMatchers (lower level abstraction) to Tooling (higher level abstraction). llvm-svn: 160351
-
Evan Cheng authored
llvm-svn: 160350
-
Alexey Samsonov authored
llvm-svn: 160349
-
Daniel Jasper authored
It now accepts an arbitrary inner matcher but is fully backwards compatible. llvm-svn: 160348
-
Kostya Serebryany authored
llvm-svn: 160347
-
Evan Cheng authored
large immediates. Add dag combine logic to recover in case the large immediates doesn't fit in cmp immediate operand field. int foo(unsigned long l) { return (l>> 47) == 1; } we produce %shr.mask = and i64 %l, -140737488355328 %cmp = icmp eq i64 %shr.mask, 140737488355328 %conv = zext i1 %cmp to i32 ret i32 %conv which codegens to movq $0xffff800000000000,%rax andq %rdi,%rax movq $0x0000800000000000,%rcx cmpq %rcx,%rax sete %al movzbl %al,%eax ret TargetLowering::SimplifySetCC would transform (X & -256) == 256 -> (X >> 8) == 1 if the immediate fails the isLegalICmpImmediate() test. For x86, that's immediates which are not a signed 32-bit immediate. Based on a patch by Eli Friedman. PR10328 rdar://9758774 llvm-svn: 160346
-
Galina Kistanova authored
llvm-svn: 160345
-
Andrew Trick authored
Speculatively fix crashes by code inspection. Can't reproduce them yet. llvm-svn: 160344
-
NAKAMURA Takumi authored
- lib/Driver/Driver.cpp, tools/driver/driver.cpp: Exit status should not be propagated, although clang driver should catch exceptions. - test/Driver/crash-report.c: Add REQUIRES:shell for now. FIXME: setenv should work also on Lit.InternalShellRunner. - test/Driver/crash-report.c: Remove XFAIL. Thanks to Chad, To point out the issue. llvm-svn: 160343
-
NAKAMURA Takumi authored
test/Driver/crash-report.c: Small tweaks. 1) Use %t instead %T for TMP. 2) Set all of $TMPDIR, $TEMP and $TMP, or a certain host might set $TEMP. llvm-svn: 160342
-
Andrew Trick authored
Some units tests crashed on a different platform. llvm-svn: 160341
-
Andrew Trick authored
This places limits on CollectSubexprs to constrains the number of reassociation possibilities. It limits the recursion depth and skips over chains of nested recurrences outside the current loop. Fixes PR13361. Although underlying SCEV behavior is still potentially bad. llvm-svn: 160340
-
Rafael Espindola authored
to build a type before seeing the definition. llvm-svn: 160339
-
Greg Clayton authored
llvm-svn: 160338
-
Jason Molenda authored
the state of the unwind instructions once the prologue has finished. If it hits an early return epilogue in the middle of the function, re-instate the prologue after that epilogue has completed so that we can still unwind for cases where the flow of control goes past that early-return. <rdar://problem/11775059> Move the UnwindPlan operator== definition into the .cpp file, expand the definition a bit. Add some casts to a SBCommandInterpreter::HandleCompletion() log statement so it builds without warning on 64- and 32-bit systems. llvm-svn: 160337
-
Jim Ingham authored
someone has set our file descriptor to -1 and crash in FD_SET... <rdar://problem/11653966> llvm-svn: 160336
-
Richard Smith authored
* Treat compound assignment as a use, at Jordy's request. * Always add compound assignments into the CFG, so we can correctly diagnose the use in 'return x += 1;' llvm-svn: 160334
-
Jim Grosbach authored
Define a 'null_frag' SDPatternOperator node, which if referenced in an instruction Pattern, results in the pattern being collapsed to be as-if '[]' had been specified instead. This allows supporting a multiclass definition where some instaniations have ISel patterns associated and others do not. For example, multiclass myMulti<RegisterClass rc, SDPatternOperator OpNode = null_frag> { def _x : myI<(outs rc:), (ins rc:), []>; def _r : myI<(outs rc:), (ins rc:), [(set rc:, (OpNode rc:))]>; } defm foo : myMulti<GRa, not>; defm bar : myMulti<GRb>; llvm-svn: 160333
-
NAKAMURA Takumi authored
llvm-svn: 160332
-
Dmitri Gribenko authored
llvm-svn: 160331
-
Richard Smith authored
use out of TransferFunctions, and compute it in advance rather than on-the-fly. This allows us to handle compound assignments with DeclRefExprs on the RHS correctly, and also makes it trivial to treat const& function parameters as not initializing the argument. The patch also makes both of those changes. llvm-svn: 160330
-
Akira Hatanaka authored
llvm-svn: 160329
-
Jordan Rose authored
<rdar://problem/11818967> llvm-svn: 160328
-
Owen Anderson authored
Defer checking for registers in the MC AsmMatcher until the after user-defined match classes have been checked. This allows the creation of MatchClass's that are supersets of a register class. llvm-svn: 160327
-
rdar://problem/11672978Enrico Granata authored
<rdar://problem/11672978> Fixing an issue where an ObjC object might come out without a description because the expression used to obtain it would timeout before running to completion llvm-svn: 160326
-
Nuno Lopes authored
llvm-svn: 160325
-
Jordan Rose authored
This should fix the failure on Windows. llvm-svn: 160324
-
Dmitri Gribenko authored
llvm-svn: 160323
-
- Jul 16, 2012
-
-
Ted Kremenek authored
llvm-svn: 160322
-
Ted Kremenek authored
when using Python < 2.7.0. This is the case on Snow Leopard, where the tools are always installed in /Developer. This isn't a proper fix for really figuring out where Xcode is installed, but should work to fix an obvious problem on Snow Leopard. llvm-svn: 160321
-
Ted Kremenek authored
llvm-svn: 160320
-
Jordan Rose authored
This code is very sensitive to the difference between "columns" as printed and "bytes" (SourceManager columns). All variables are now named explicitly and our assumptions are (hopefully) documented as both comment and assertion. Whether parseable fixits should use byte offsets or Unicode character counts is pending discussion on the mailing list; currently the implementation uses bytes (and has no problems on lines containing multibyte characters). This has been added to the user manual. <rdar://problem/11877454> llvm-svn: 160319
-
David Blaikie authored
Found while investigating PR13330 llvm-svn: 160318
-
Nuno Lopes authored
llvm-svn: 160317
-