Permalink
Commits on Jul 3, 2012
  1. test/CodeGen/X86/2004-03-30-Select-Max.ll: FileCheck-ize.

    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@159636 91177308-0d34-0410-b5e6-96231b3b80d8
    chapuni committed Jul 3, 2012
Commits on Jul 2, 2012
  1. mips32 long long register inline asm constraint support.

       
        inlineasm-cnstrnt-bad-r-1.ll is NOT supposed to fail, so it was removed.    This resulted in the removal of a negative test (inlineasm-cnstrnt-bad-r-1.ll)
        
    
    
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@159625 91177308-0d34-0410-b5e6-96231b3b80d8
    Jack Carter committed Jul 2, 2012
  2. Revert " mips32 long long register inline asm constraint support." as

    it appears to be breaking the bots.
    
    This reverts commit 1b055ce.
    
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@159619 91177308-0d34-0410-b5e6-96231b3b80d8
    echristo committed Jul 2, 2012
  3. Revert "IntRange:" as it appears to be breaking self hosting.

    This reverts commit b2833d9.
    
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@159618 91177308-0d34-0410-b5e6-96231b3b80d8
    echristo committed Jul 2, 2012
  4. deleted test/CodeGen/Mips/inlineasm-cnstrnt-bad-r-1.ll

    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@159617 91177308-0d34-0410-b5e6-96231b3b80d8
    Jack Carter committed Jul 2, 2012
  5. All glory to address sanitizer. ;]

    It appears to have caught a use-after-free introduced as by r159567
    and/or friends which call 'addPass' from many more places. The bug in
    'addPass' doesn't appear to be new, and was spotted by inspection when
    ASan shown a bright light of a stacktrace at these functions.
    
    Hopefully this will fix the ASan failure -- I have no test case other
    than running an ASan-built clang over the test suite.
    
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@159614 91177308-0d34-0410-b5e6-96231b3b80d8
    chandlerc committed Jul 2, 2012
  6. Target option DisableJumpTables is a gross hack. Move it to TargetLow…

    …ering instead.
    
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@159611 91177308-0d34-0410-b5e6-96231b3b80d8
    Evan Cheng committed Jul 2, 2012
  7. mips32 long long register inline asm constraint support.

       
        inlineasm-cnstrnt-bad-r-1.ll is NOT supposed to fail, so it was removed.    This resulted in the removal of a negative test (inlineasm-cnstrnt-bad-r-1.ll)
        
    
    
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@159610 91177308-0d34-0410-b5e6-96231b3b80d8
    Jack Carter committed Jul 2, 2012
  8. misched: allow NULL InstrItineraries.

    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@159599 91177308-0d34-0410-b5e6-96231b3b80d8
    atrick committed Jul 2, 2012
  9. Extend the workaround from r159593 to cover a few explicit alias

    targets.
    
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@159597 91177308-0d34-0410-b5e6-96231b3b80d8
    chandlerc committed Jul 2, 2012
  10. Revert r159588, and apply a more principled fix. Place the fix for this

    in the abstraction for lit test suites so that the various other layers
    of abstraction pick up the same behavioral fix, and so that we still get
    a complete list of dependencies for the 'check-all' target.
    
    This should fix the follow-on issues of the same nature with various
    other build targets, including Clang targets. Sorry for the churn, and
    again thanks to Matt for testing and breaking this more thoroughly.
    
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@159593 91177308-0d34-0410-b5e6-96231b3b80d8
    chandlerc committed Jul 2, 2012
  11. Turn an assert into an error to make it a bit more friendly.

    Part of rdar://6880388 and rdar://11766377
    
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@159590 91177308-0d34-0410-b5e6-96231b3b80d8
    echristo committed Jul 2, 2012
  12. Work around a really frustrating apparant CMake bug.

    No functionality changed here, except that the CMake installed by
    default on Ubuntu Lucid should actually work with the makefile
    generators now.
    
    Thanks to Matt for the report and head-desking required to figure out
    why it was failing.
    
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@159588 91177308-0d34-0410-b5e6-96231b3b80d8
    chandlerc committed Jul 2, 2012
  13. Fix -Wstring-conversion warning.

    Patch by Matt Beaumont-Gay.
    
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@159583 91177308-0d34-0410-b5e6-96231b3b80d8
    dwblaikie committed Jul 2, 2012
  14. Revert r159528 which taught lit's builtin shell test runner about the

    '|&' bash syntax. We have lots of users with a bash on their system
    which doesn't support this syntax, and as bash is still significantly
    faster, we should support them.
    
    The test suite has already been updated to cope with this.
    
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@159580 91177308-0d34-0410-b5e6-96231b3b80d8
    chandlerc committed Jul 2, 2012
  15. Switch from using a lit.cfg-generator variable that happens to be found

    due to strange scoping rules to the actual canonical variable name
    within the LLVM CMake build.
    
    No functionality changed.
    
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@159575 91177308-0d34-0410-b5e6-96231b3b80d8
    chandlerc committed Jul 2, 2012
  16. Pass the correct ELFOSABI enumeration to the MipsELFObjectWriter cons…

    …tructor
    
    Contributer: Sasa Stankovic 
    
    
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@159574 91177308-0d34-0410-b5e6-96231b3b80d8
    Jack Carter committed Jul 2, 2012
  17. Extend TargetPassConfig to allow running only a subset of the normal …

    …passes.
    
    This is still a work in progress but I believe it is currently good enough
    to fix PR13122 "Need unit test driver for codegen IR passes".  For example,
    you can run llc with -stop-after=loop-reduce to have it dump out the IR after
    running LSR.  Serializing machine-level IR is not yet supported but we have
    some patches in progress for that.
    
    The plan is to serialize the IR to a YAML file, containing separate sections
    for the LLVM IR, machine-level IR, and whatever other info is needed.  Chad
    suggested that we stash the stop-after pass in the YAML file and use that
    instead of the start-after option to figure out where to restart the
    compilation.  I think that's a great idea, but since it's not implemented yet
    I put the -start-after option into this patch for testing purposes.
    
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@159570 91177308-0d34-0410-b5e6-96231b3b80d8
    bob-wilson committed Jul 2, 2012
  18. Move assertion with TargetPassConfig's Initialized flag.

    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@159569 91177308-0d34-0410-b5e6-96231b3b80d8
    bob-wilson committed Jul 2, 2012
  19. Consistently use AnalysisID types in TargetPassConfig.

    This makes it possible to just use a zero value to represent "no pass", so
    the phony NoPassID global variable is no longer needed.
    
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@159568 91177308-0d34-0410-b5e6-96231b3b80d8
    bob-wilson committed Jul 2, 2012
  20. Add all codegen passes to the PassManager via TargetPassConfig.

    This is a preliminary step toward having TargetPassConfig be able to
    start and stop the compilation at specified passes for unit testing
    and debugging.  No functionality change.
    
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@159567 91177308-0d34-0410-b5e6-96231b3b80d8
    bob-wilson committed Jul 2, 2012
  21. Add a missing forward declaration of PassManagerBase.

    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@159566 91177308-0d34-0410-b5e6-96231b3b80d8
    bob-wilson committed Jul 2, 2012
  22. Need a space.

    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@159565 91177308-0d34-0410-b5e6-96231b3b80d8
    Evan Cheng committed Jul 2, 2012
  23. Revert accidental checkin.

    My last checkin was apparently not the branch I intended. It was missing one change (added by chandlerc), and contained a spurious change.
    
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@159548 91177308-0d34-0410-b5e6-96231b3b80d8
    atrick committed Jul 2, 2012
  24. Fix the remaining TCL-style quotes found in the testsuite. This is

    another mechanical change accomplished though the power of terrible Perl
    scripts.
    
    I have manually switched some "s to 's to make escaping simpler.
    
    While I started this to fix tests that aren't run in all configurations,
    the massive number of tests is due to a really frustrating fragility of
    our testing infrastructure: things like 'grep -v', 'not grep', and
    'expected failures' can mask broken tests all too easily.
    
    Essentially, I'm deeply disturbed that I can change the testsuite so
    radically without causing any change in results for most platforms. =/
    
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@159547 91177308-0d34-0410-b5e6-96231b3b80d8
    chandlerc committed Jul 2, 2012
  25. GlobalOpt forgot to handle bitcast when analyzing globals. Found by i…

    …nspection.
    
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@159546 91177308-0d34-0410-b5e6-96231b3b80d8
    CunningBaldrick committed Jul 2, 2012
  26. Added assertion in getVRegDef of MachineRegisterInfo to make sure the…

    … virtual
    
    register does not have multiple definitions. Modified TwoAddressInstructionPass
    to use getUniqueVRegDef instead of getVRegDef.
    
    
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@159545 91177308-0d34-0410-b5e6-96231b3b80d8
    mren2 committed Jul 2, 2012
  27. Convert the uses of '|&' to use '2>&1 |' instead, which works on old

    versions of Bash. In addition, I can back out the change to the lit
    built-in shell test runner to support this.
    
    This should fix the majority of fallout on Darwin, but I suspect there
    will be a few straggling issues.
    
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@159544 91177308-0d34-0410-b5e6-96231b3b80d8
    chandlerc committed Jul 2, 2012
  28. Fix the C++11 build. I hate narrowing conversions.

    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@159543 91177308-0d34-0410-b5e6-96231b3b80d8
    chandlerc committed Jul 2, 2012
  29. Reapply "Make NumMicroOps a variable in the subtarget's instruction i…

    …tinerary."
    
    Reapplies r159406 with minor cleanup. The regressions appear to have been spurious.
    
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@159541 91177308-0d34-0410-b5e6-96231b3b80d8
    atrick committed Jul 2, 2012
  30. Fixed switch in IntRange::isSingleNumber method.

    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@159540 91177308-0d34-0410-b5e6-96231b3b80d8
    kaomoneus committed Jul 2, 2012
  31. Do not attempt to use ROR for Thumb1.

    Patch by Matt Fischer!
    
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@159538 91177308-0d34-0410-b5e6-96231b3b80d8
    bob-wilson committed Jul 2, 2012
  32. fix the regression I introduced in r159385 (it's necessary to update …

    …PHI nodes in unwind BB
    
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@159534 91177308-0d34-0410-b5e6-96231b3b80d8
    nunoplopes committed Jul 2, 2012
  33. IntRange, fixed warning in isSingleNumber method

    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@159532 91177308-0d34-0410-b5e6-96231b3b80d8
    kaomoneus committed Jul 2, 2012
  34. The built-in shell test runner for some reason doesn't like the quoting

    and multi-line nature of this test. I don't really feel like bugging
    this kind of edge-case, so just put it on one line and use single
    quotes. With this, every test *really* passes with the built-in shell
    test runner.
    
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@159530 91177308-0d34-0410-b5e6-96231b3b80d8
    chandlerc committed Jul 2, 2012