|  | Commit message (Collapse) | Author | Age | Files | Lines | 
|---|
| | 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| | - Instead of setting the suffixes in a bunch of places, just set one master
   list in the top-level config. We now only modify the suffix list in a few
   suites that have one particular unique suffix (.ml, .mc, .yaml, .td, .py).
 - Aside from removing the need for a bunch of lit.local.cfg files, this enables
   4 tests that were inadvertently being skipped (one in
   Transforms/BranchFolding, a .s file each in DebugInfo/AArch64 and
   CodeGen/PowerPC, and one in CodeGen/SI which is now failing and has been
   XFAILED).
 - This commit also fixes a bunch of config files to use config.root instead of
   older copy-pasted code.
llvm-svn: 188513 | 
| | 
| 
| 
| 
| 
| 
| | 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 | 
| | 
| 
| 
| 
| 
| 
| 
| | ModuleID
This is done to avoid odd test failures, like the one fixed in r171243.
llvm-svn: 171246 | 
| | 
| 
| 
| 
| 
| 
| 
| | run with LIT now and now Dejagnu. dg.exp is no longer needed.
Patch reviewed by Daniel Dunbar. It will be followed by additional cleanup patches.
llvm-svn: 150664 | 
| | 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| | with other symbols.
An object in the __cfstring section is suppoed to be filled with CFString
objects, which have a pointer to ___CFConstantStringClassReference followed by a
pointer to a __cstring. If we allow the object in the __cstring section to be
merged with another global, then it could end up in any section. Because the
linker is going to remove these symbols in the final executable, we shouldn't
bother to merge them.
<rdar://problem/10564621>
llvm-svn: 147899 | 
| | 
| 
| 
| | llvm-svn: 136250 | 
| | 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| | This fixes the original testcase in PR8927. It also causes a clang
binary built with a patched clang to increase in size by 0.21%.
We can probably get some of the size back by writing a pass that
detects that a global never has its pointer compared and adds
unnamed_addr to it (maybe extend global opt). It is also possible that
there are some other cases clang could add unnamed_addr to.
I will investigate extending globalopt next.
llvm-svn: 123584 | 
| | 
| 
| 
| 
| 
| | opporuntities. Fixes PR8978.
llvm-svn: 123541 | 
| | 
| 
| 
| 
| 
| | attribute(used).
llvm-svn: 113911 | 
| | 
| 
| 
| 
| 
| 
| 
| 
| | 2. don't bother trying to merge globals in non-default sections,
   doing so is quite dubious at best anyway.
3. fix a bug reported by Arnaud de Grandmaison where we'd try to
   merge two globals in different address spaces.
llvm-svn: 95995 | 
| | 
| 
| 
| | llvm-svn: 95993 | 
| | 
| 
| 
| 
| 
| 
| 
| | input filename so that opt doesn't print the input filename in the
output so that grep lines in the tests don't unintentionally match
strings in the input filename.
llvm-svn: 81537 | 
| | 
| 
| 
| | llvm-svn: 81257 | 
| | 
| 
| 
| 
| 
| | of using llvm-as, now that opt supports this.
llvm-svn: 81226 | 
| | 
| 
| 
| 
| 
| 
| | - I'd appreciate it if someone else eyeballs my changes to make sure I captured
   the intent of the test.
llvm-svn: 81083 | 
| | 
| 
| 
| | llvm-svn: 51349 | 
| | 
| 
| 
| 
| 
| | renaming to isnan2. Now that no test has llx ending there is no need to search for them from dg.exp too.
llvm-svn: 51328 | 
| | 
| 
| 
| | llvm-svn: 47793 | 
| | 
| 
| 
| | llvm-svn: 37801 | 
| | 
| 
| 
| 
| 
| | Upgrade to use new Tcl exec based test harness
llvm-svn: 36055 | 
| | 
| 
| 
| 
| 
| 
| 
| | global variables that needed to be passed in. This makes it possible to
add new global variables with only a couple changes (Makefile and llvm-dg.exp)
instead of touching every single dg.exp file.
llvm-svn: 35918 | 
|  | llvm-svn: 33296 |