- Mar 24, 2012
-
-
Jordy Rose authored
[analyzer] Add a clone() method to BugReporterVisitor, so that we'll be able to reset diagnostic generation. llvm-svn: 153368
-
Argyrios Kyrtzidis authored
recover by returning the statements that we parsed so far, instead of dropping the whole function body. rdar://10967343 llvm-svn: 153367
-
Francois Pichet authored
llvm-svn: 153366
-
Johnny Chen authored
llvm-svn: 153365
-
Justin Holewinski authored
Code such as: %vreg100 = setcc %vreg10, -1, SETNE brcond %vreg10, %tgt was being incorrectly morphed into %vreg100 = and %vreg10, 1 brcond %vreg10, %tgt where the 'and' instruction could be eliminated since such logic is on 1-bit types in the PTX back-end, leaving us with just: brcond %vreg10, %tgt which essentially gives us inverted branch conditions. llvm-svn: 153364
-
Enrico Granata authored
Adding a new API call IsTypeComplete() to SBType. This call is meant to check if the type has been previously completed or not (which is mostly interesting from a performance point of view) Adding a test case that checks that we do not complete types before due time. This should help us track cases similar to the cascading data formatters. llvm-svn: 153363
-
Andrew Trick authored
llvm-svn: 153362
-
rdar://problem/11101372Sean Callanan authored
We now reject binaries built with LTO and print an error, rather than crashing later while trying to parse them. llvm-svn: 153361
-
Rafael Espindola authored
c++ enums. llvm-svn: 153360
-
Rafael Espindola authored
metadata. llvm-svn: 153359
-
Richard Smith authored
some calling code to actually pass in a non-null type, to avoid a crash. llvm-svn: 153358
-
Kostya Serebryany authored
llvm-svn: 153356
-
Argyrios Kyrtzidis authored
just because there was an attribute in front of it. llvm-svn: 153355
-
Argyrios Kyrtzidis authored
managed to insert an @interface as top level decl contained by another @interface. A commit to also not allow this as valid code will be coming. rdar://11105114. llvm-svn: 153354
-
Kostya Serebryany authored
llvm-svn: 153353
-
Bill Wendling authored
destination module, but one of them isn't used in the destination module. If another module comes along and the uses the unused type, there could be type conflicts when the modules are finally linked together. (This happened when building LLVM.) The test that was reduced is: Module A: %Z = type { %A } %A = type { %B.1, [7 x x86_fp80] } %B.1 = type { %C } %C = type { i8* } declare void @func_x(%C*, i64, i64) declare void @func_z(%Z* nocapture) Module B: %B = type { %C.1 } %C.1 = type { i8* } %A.2 = type { %B.3, [5 x x86_fp80] } %B.3 = type { %C.1 } define void @func_z() { %x = alloca %A.2, align 16 %y = getelementptr inbounds %A.2* %x, i64 0, i32 0, i32 0 call void @func_x(%C.1* %y, i64 37, i64 927) nounwind ret void } declare void @func_x(%C.1*, i64, i64) declare void @func_y(%B* nocapture) (Unfortunately, this test doesn't fail under llvm-link, only during an LTO linking.) The '%C' and '%C.1' clash. The destination module gets the '%C' declaration. When merging Module B, it looks at the '%C.1' subtype of the '%B' structure. It adds that in, because that's cool. And when '%B.3' is processed, it uses the '%C.1'. But the '%B' has used '%C' and we prefer to use '%C'. So the '@func_x' type is changed to 'void (%C*, i64, i64)', but the type of '%x' in '@func_z' remains '%A.2'. The GEP resolves to a '%C.1', which conflicts with the '@func_x' signature. We can resolve this situation by making sure that the type is used in the destination before saying that it should be used in the module being merged in. With this fix, LLVM and Clang both compile under LTO. <rdar://problem/10913281> llvm-svn: 153351
-
Richard Smith authored
forward-declared enums aren't /quite/ done yet. llvm-svn: 153350
-
Richard Smith authored
a previous declaration if the redeclaration is invalid. That way lies madness. Fixes a crash-on-invalid reported by Abramo. llvm-svn: 153349
-
Akira Hatanaka authored
Patch by Simon Atanasyan. llvm-svn: 153348
-
Jim Grosbach authored
No functional change, just tidy up the code and nomenclature a bit. llvm-svn: 153347
-
Jim Grosbach authored
Dump the hex representation to the comment stream as well as the float value. llvm-svn: 153346
-
Akira Hatanaka authored
entries in the relocation table before they are written out to the file. llvm-svn: 153345
-
- Mar 23, 2012
-
-
Dan Gohman authored
is retaining the return value of an invoke that it immediately follows. llvm-svn: 153344
-
Dan Gohman authored
same basic block, and it's not safe to insert code in the successor blocks if the edges are critical edges. Splitting those edges is possible, but undesirable, especially on the unwind side. Instead, make the bottom-up code motion to consider invokes to be part of their successor blocks, rather than part of their parent blocks, so that it doesn't push code past them and onto the edges. This fixes PR12307. llvm-svn: 153343
-
Owen Anderson authored
Make it feasible for clients using EngineBuilder to capture the TargetMachine that is created as part of selecting the appropriate target. This is necessary if the client wants to be able to mutate TargetOptions (for example, fast FP math mode) after the initial creation of the ExecutionEngine. llvm-svn: 153342
-
Lang Hames authored
llvm-svn: 153341
-
Timur Iskhodzhanov authored
llvm-svn: 153333
-
Timur Iskhodzhanov authored
llvm-svn: 153332
-
Tobias Grosser authored
llvm-svn: 153331
-
Tobias Grosser authored
llvm-svn: 153330
-
Benjamin Kramer authored
This should unbreak the msvc build. llvm-svn: 153329
-
Benjamin Kramer authored
llvm-svn: 153328
-
Timur Iskhodzhanov authored
llvm-svn: 153327
-
Benjamin Kramer authored
New code should use raw_ostream. llvm-svn: 153326
-
Tobias Grosser authored
We create a new file LoopGenerators that provides utility classes for the generation of OpenMP parallel and scalar loops. This means we move a lot of the OpenMP generation out of the Polly specific code generator. llvm-svn: 153325
-
Anton Korobeynikov authored
Patch from Mageia! llvm-svn: 153324
-
Duncan Sands authored
dominated by Root, check that B is available throughout the scope. This is obviously true (famous last words?) given the current logic, but the check may be helpful if more complicated reasoning is added one day. llvm-svn: 153323
-
Duncan Sands authored
llvm-svn: 153322
-
Tobias Grosser authored
No functional changes intended. llvm-svn: 153321
-
Tobias Grosser authored
The prefix is not needed, as all test cases are already in a separate folder. llvm-svn: 153320
-