- Jul 11, 2009
-
-
Daniel Dunbar authored
- Previous code was based on a misunderstanding (on my part) of the type representation. llvm-svn: 75385
-
Nick Lewycky authored
llvm-svn: 75384
-
Daniel Dunbar authored
- This was a latent bug exposed by the recent objc type changes. llvm-svn: 75383
-
Chris Lattner authored
Basically, using: lea symbol(%rip), %rax is not valid in -static mode, because the current RIP may not be within 32-bits of "symbol" when an app is built partially pic and partially static. The fix for this is to compile it to: lea symbol, %rax It would be better to codegen this as: movq $symbol, %rax but that will come next. The hard part of fixing this bug was fixing abi-isel, which was actively testing for the wrong behavior. Also, the RUN lines are completely impossible to understand what they are testing. To help with this, convert the -static x86-64 codegen tests to use filecheck. This is much more stable and makes it more clear what the codegen is expected to be. llvm-svn: 75382
-
Daniel Dunbar authored
llvm-svn: 75381
-
Torok Edwin authored
llvm-svn: 75380
-
Torok Edwin authored
Make llvm_unreachable take an optional string, thus moving the cerr<< out of line. LLVM_UNREACHABLE is now a simple wrapper that makes the message go away for NDEBUG builds. llvm-svn: 75379
-
Daniel Dunbar authored
llvm-svn: 75378
-
Mikhail Glushenkov authored
llvm-svn: 75376
-
Mikhail Glushenkov authored
llvm-svn: 75375
-
Mikhail Glushenkov authored
llvm-svn: 75374
-
Nick Lewycky authored
A full set is a constant range that represents any number. If you take the umax of that and [5, 10) you end up with [5, INT_MAX] because the values less than 5 would be umax's against a value which is at least 5. llvm-svn: 75372
-
Chris Lattner authored
llvm-svn: 75371
-
Chris Lattner authored
away. This way you can write a space and it matches arbitrary spaces and tabs. llvm-svn: 75370
-
Nick Lewycky authored
changes. llvm-svn: 75369
-
Nuno Lopes authored
disclaim: I know nothing about Python, so apologies in advance if I break something llvm-svn: 75368
-
Sanjiv Gupta authored
llvm-svn: 75367
-
Nick Lewycky authored
llvm-svn: 75366
-
Alisdair Meredith authored
Fix breakage on Windows, cannot redeclare loop variable i in the immediate scope of loop. Rename variable to j. llvm-svn: 75365
-
Dan Gohman authored
llvm-svn: 75364
-
Torok Edwin authored
and abort()/exit() -> llvm_report_error(). llvm-svn: 75363
-
Chris Lattner authored
In addition to fixing this, I still need to do some more testing on darwin. llvm-svn: 75362
-
Evan Cheng authored
llvm-svn: 75361
-
Evan Cheng authored
llvm-svn: 75360
-
Evan Cheng authored
Major changes to Thumb (not Thumb2). Many 16-bit instructions either modifies CPSR when they are outside the IT blocks, or they can predicated when in Thumb2. Move the implicit def of CPSR to an optional def which defaults CPSR. This allows the 's' bit to be toggled dynamically. A side-effect of this change is asm printer is now using unified assembly. There are some minor clean ups and fixes as well. llvm-svn: 75359
-
Evan Cheng authored
llvm-svn: 75358
-
Nick Lewycky authored
per icmp predicate out of predsimplify and into ConstantRange. Add another utility method that determines whether one range is a subset of another. Combine with the former to determine whether icmp pred range, range is known to be true or not. llvm-svn: 75357
-
Ted Kremenek authored
Handle insidious corner case exposed by RegionStoreManager when handling void* values that are bound to symbolic regions and then treated like integers. llvm-svn: 75356
-
Zhongxing Xu authored
llvm-svn: 75329
-
Evan Cheng authored
Fix up support for OptionalDefOperand when it defaults to an actual register def. I need this to get ready for major Thumb1 surgery. llvm-svn: 75328
-
Anders Carlsson authored
llvm-svn: 75327
-
Ted Kremenek authored
MemRegion kinds. This allows the compiler to identify what MemRegions we don't handle for pointer arithmetic. llvm-svn: 75326
-
Eli Friedman authored
llvm-svn: 75325
-
Anders Carlsson authored
llvm-svn: 75324
-
Anders Carlsson authored
Implement more of C++0x 'auto'. A variable with an auto type specifier must have an initializer. Also, move some tests around to match the C++0x draft better. llvm-svn: 75322
-
Ted Kremenek authored
warning: ‘OPT’ may be used uninitialized in this function Now OPT is initialized to NULL. I'm not certain if this is the correct fix; others please review. llvm-svn: 75321
-
Eli Friedman authored
llvm-svn: 75320
-
Ted Kremenek authored
llvm-svn: 75318
-
Evan Cheng authored
llvm-svn: 75317
-
Ted Kremenek authored
llvm-svn: 75316
-