Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | X86: Do not use llc -march in tests. | Matthias Braun | 2017-08-02 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | `llc -march` is problematic because it only switches the target architecture, but leaves the operating system unchanged. This occasionally leads to indeterministic tests because the OS from LLVM_DEFAULT_TARGET_TRIPLE is used. However we can simply always use `llc -mtriple` instead. This changes all the tests to do this to avoid people using -march when they copy and paste parts of tests. See also the discussion in https://reviews.llvm.org/D35287 llvm-svn: 309774 | ||||
* | Add triple to test to fix bots | Matt Arsenault | 2014-09-11 | 1 | -1/+1 |
| | | | | llvm-svn: 217612 | ||||
* | Add DAG combine for shl + add of constants. | Matt Arsenault | 2014-09-11 | 1 | -0/+49 |
Do (shl (add x, c1), c2) -> (add (shl x, c2), c1 << c2) This is already done for multiplies, but since multiplies by powers of two are turned into shifts, we also need to handle it here. This might want checks for isLegalAddImmediate to avoid transforming an add of a legal immediate with one that isn't. llvm-svn: 217610 |