Page MenuHomePhabricator
Feed Advanced Search

Sep 30 2019

evandro committed rG110b1138baf4: [InstCombine] Expand the simplification of log() (authored by evandro).
[InstCombine] Expand the simplification of log()
Sep 30 2019, 1:51 PM
evandro committed rL373262: [ConstantFolding] Fold constant calls to log2().
[ConstantFolding] Fold constant calls to log2()
Sep 30 2019, 1:51 PM
evandro closed D67300: [ConstantFolding] Fold constant calls to log2().
Sep 30 2019, 1:51 PMRestricted Project
evandro committed rL373261: [InstCombine] Expand the simplification of log().
[InstCombine] Expand the simplification of log()
Sep 30 2019, 1:50 PM
evandro closed D67199: [InstCombine] Expand the simplification of log().
Sep 30 2019, 1:50 PMRestricted Project

Sep 25 2019

evandro committed rG3bd8ba156b52: [CodeGen] Replace -max-jump-table-size with -max-jump-table-targets (authored by evandro).
[CodeGen] Replace -max-jump-table-size with -max-jump-table-targets
Sep 25 2019, 9:12 AM
evandro committed rL372893: [CodeGen] Replace -max-jump-table-size with -max-jump-table-targets.
[CodeGen] Replace -max-jump-table-size with -max-jump-table-targets
Sep 25 2019, 9:09 AM
evandro closed D60295: [CodeGen] Replace -max-jump-table-size with -max-jump-table-targets.
Sep 25 2019, 9:09 AMRestricted Project
evandro added a comment to D60295: [CodeGen] Replace -max-jump-table-size with -max-jump-table-targets.

Thank you.

Sep 25 2019, 9:05 AMRestricted Project

Sep 24 2019

evandro added a comment to D67199: [InstCombine] Expand the simplification of log().

Ping! 馃敂

Sep 24 2019, 1:58 PMRestricted Project
evandro added a comment to D60295: [CodeGen] Replace -max-jump-table-size with -max-jump-table-targets.

馃う馃徎鈥嶁檪锔

Sep 24 2019, 11:07 AMRestricted Project
evandro updated the diff for D60295: [CodeGen] Replace -max-jump-table-size with -max-jump-table-targets.
Sep 24 2019, 11:07 AMRestricted Project

Sep 23 2019

evandro updated the diff for D60295: [CodeGen] Replace -max-jump-table-size with -max-jump-table-targets.
Sep 23 2019, 11:30 AMRestricted Project

Sep 20 2019

evandro updated the diff for D60295: [CodeGen] Replace -max-jump-table-size with -max-jump-table-targets.
Sep 20 2019, 12:50 PMRestricted Project
evandro updated the diff for D60295: [CodeGen] Replace -max-jump-table-size with -max-jump-table-targets.
Sep 20 2019, 12:29 PMRestricted Project
evandro added inline comments to D60295: [CodeGen] Replace -max-jump-table-size with -max-jump-table-targets.
Sep 20 2019, 11:18 AMRestricted Project

Sep 19 2019

evandro committed rGa4da991e4a4e: [AArch64] Fix formatting (NFC) (authored by evandro).
[AArch64] Fix formatting (NFC)
Sep 19 2019, 2:49 PM
evandro committed rL372357: [AArch64] Fix formatting (NFC).
[AArch64] Fix formatting (NFC)
Sep 19 2019, 2:48 PM

Sep 18 2019

evandro updated the diff for D60295: [CodeGen] Replace -max-jump-table-size with -max-jump-table-targets.
Sep 18 2019, 8:23 AMRestricted Project
evandro added inline comments to D60295: [CodeGen] Replace -max-jump-table-size with -max-jump-table-targets.
Sep 18 2019, 8:16 AMRestricted Project

Sep 17 2019

evandro updated the diff for D60295: [CodeGen] Replace -max-jump-table-size with -max-jump-table-targets.

Update the patch Including the suggested refactoring.

Sep 17 2019, 9:52 AMRestricted Project
evandro added inline comments to D60295: [CodeGen] Replace -max-jump-table-size with -max-jump-table-targets.
Sep 17 2019, 8:32 AMRestricted Project
evandro added a comment to D60295: [CodeGen] Replace -max-jump-table-size with -max-jump-table-targets.

Thank you.

Sep 17 2019, 8:25 AMRestricted Project

Sep 16 2019

evandro updated the diff for D67199: [InstCombine] Expand the simplification of log().
Sep 16 2019, 11:21 AMRestricted Project
evandro added inline comments to D67199: [InstCombine] Expand the simplification of log().
Sep 16 2019, 11:00 AMRestricted Project

Sep 12 2019

evandro added a comment to D60295: [CodeGen] Replace -max-jump-table-size with -max-jump-table-targets.

Running llc -O1 3 times on the byte code from a.i in the "reduced some more" archive:

  • Before: average of 38.383s 卤 0.064s
  • After: average of 38.440s 卤 0.049s
Sep 12 2019, 5:07 PMRestricted Project
evandro committed rG08df6e64d570: [ConstantFolding] Expand folding of some library functions (authored by evandro).
[ConstantFolding] Expand folding of some library functions
Sep 12 2019, 2:25 PM
evandro committed rL371774: [ConstantFolding] Expand folding of some library functions.
[ConstantFolding] Expand folding of some library functions
Sep 12 2019, 2:22 PM
evandro closed D67468: [ConstantFolding] Expand folding of some library functions.
Sep 12 2019, 2:21 PMRestricted Project
evandro updated the diff for D60295: [CodeGen] Replace -max-jump-table-size with -max-jump-table-targets.

Please, stand by for numbers.

Sep 12 2019, 1:01 PMRestricted Project
evandro added a comment to D67497: [aarch64] move custom isel of extract_vector_elt to td file - NFC.

Is there a test case that checks that this change does not break what the code in AArch64DAGToDAGISel::Select() was meant to handle?

Sep 12 2019, 7:57 AMRestricted Project

Sep 11 2019

evandro committed rGed5f45264554: [ConstantFolding] Refactor math functions to use LLVM ones (NFC) (authored by evandro).
[ConstantFolding] Refactor math functions to use LLVM ones (NFC)
Sep 11 2019, 2:47 PM
evandro committed rL371677: [ConstantFolding] Refactor math functions to use LLVM ones (NFC).
[ConstantFolding] Refactor math functions to use LLVM ones (NFC)
Sep 11 2019, 2:45 PM
evandro closed D67459: [ConstantFolding] Refactor math functions to use LLVM ones (NFC).
Sep 11 2019, 2:45 PMRestricted Project
evandro created D67468: [ConstantFolding] Expand folding of some library functions.
Sep 11 2019, 2:28 PMRestricted Project
evandro added reviewers for D67468: [ConstantFolding] Expand folding of some library functions: efriedma, xbolva00, spatel.
Sep 11 2019, 2:28 PMRestricted Project
evandro created D67459: [ConstantFolding] Refactor math functions to use LLVM ones (NFC).
Sep 11 2019, 12:44 PMRestricted Project

Sep 9 2019

evandro updated the diff for D67199: [InstCombine] Expand the simplification of log().
Sep 9 2019, 1:29 PMRestricted Project

Sep 6 2019

evandro added a comment to D67300: [ConstantFolding] Fold constant calls to log2().

@efriedma, I never know what Windows supports or not...

Sep 6 2019, 3:53 PMRestricted Project
evandro updated the diff for D67199: [InstCombine] Expand the simplification of log().
Sep 6 2019, 3:18 PMRestricted Project
evandro added a comment to D67300: [ConstantFolding] Fold constant calls to log2().

@efriedma, yes, I noticed that and noted it in rL371236.

Sep 6 2019, 3:18 PMRestricted Project
evandro committed rG7d677adf2df6: [InstCombine] Refactor substitution of instruction in the parent BB (NFC) (authored by evandro).
[InstCombine] Refactor substitution of instruction in the parent BB (NFC)
Sep 6 2019, 3:09 PM
evandro committed rL371264: [InstCombine] Refactor substitution of instruction in the parent BB (NFC).
[InstCombine] Refactor substitution of instruction in the parent BB (NFC)
Sep 6 2019, 3:09 PM
evandro added inline comments to D67199: [InstCombine] Expand the simplification of log().
Sep 6 2019, 2:24 PMRestricted Project
evandro created D67300: [ConstantFolding] Fold constant calls to log2().
Sep 6 2019, 1:32 PMRestricted Project
evandro committed rG88a98ea3f75c: [ConstantFolding] Add new test cases for transcendentals (NFC) (authored by evandro).
[ConstantFolding] Add new test cases for transcendentals (NFC)
Sep 6 2019, 12:42 PM
evandro committed rL371246: [ConstantFolding] Add new test cases for transcendentals (NFC).
[ConstantFolding] Add new test cases for transcendentals (NFC)
Sep 6 2019, 12:41 PM
evandro committed rG7feb812ccde7: [ConstantFolding] Refactor functions not available before C99 (NFC) (authored by evandro).
[ConstantFolding] Refactor functions not available before C99 (NFC)
Sep 6 2019, 11:29 AM
evandro committed rL371236: [ConstantFolding] Refactor functions not available before C99 (NFC).
[ConstantFolding] Refactor functions not available before C99 (NFC)
Sep 6 2019, 11:28 AM
evandro committed rG6f1369755dcd: [ConstantFolding] Refactor function match for better speed (NFC) (authored by evandro).
[ConstantFolding] Refactor function match for better speed (NFC)
Sep 6 2019, 9:50 AM
evandro committed rL371228: [ConstantFolding] Refactor function match for better speed (NFC).
[ConstantFolding] Refactor function match for better speed (NFC)
Sep 6 2019, 9:49 AM

Sep 4 2019

evandro updated the diff for D67199: [InstCombine] Expand the simplification of log().
Sep 4 2019, 5:09 PMRestricted Project
evandro updated the diff for D67199: [InstCombine] Expand the simplification of log().
Sep 4 2019, 5:03 PMRestricted Project
evandro added inline comments to D67199: [InstCombine] Expand the simplification of log().
Sep 4 2019, 4:54 PMRestricted Project
evandro updated the diff for D67199: [InstCombine] Expand the simplification of log().
Sep 4 2019, 4:24 PMRestricted Project
evandro added inline comments to D67199: [InstCombine] Expand the simplification of log().
Sep 4 2019, 4:24 PMRestricted Project
evandro created D67199: [InstCombine] Expand the simplification of log().
Sep 4 2019, 3:51 PMRestricted Project
evandro committed rGbf78e39cbbbe: [InstCombine] Add more test cases (NFC) (authored by evandro).
[InstCombine] Add more test cases (NFC)
Sep 4 2019, 1:01 PM
evandro committed rL370966: [InstCombine] Add more test cases (NFC).
[InstCombine] Add more test cases (NFC)
Sep 4 2019, 1:00 PM
evandro committed rG3b705ef712cf: [TargetLibraryInfo] Define enumerator for no library function (NFC) (authored by evandro).
[TargetLibraryInfo] Define enumerator for no library function (NFC)
Sep 4 2019, 11:16 AM
evandro committed rL370947: [TargetLibraryInfo] Define enumerator for no library function (NFC).
[TargetLibraryInfo] Define enumerator for no library function (NFC)
Sep 4 2019, 11:14 AM

Aug 22 2019

evandro added a comment to D60295: [CodeGen] Replace -max-jump-table-size with -max-jump-table-targets.

馃敂馃敂 鈥硷笍Ping鈥硷笍 馃敂馃敂

Aug 22 2019, 12:08 PMRestricted Project

Aug 16 2019

evandro committed rG05e9c2ac2e19: [InstCombine] Simplify pow(2.0, itofp(y)) to ldexp(1.0, y) (authored by evandro).
[InstCombine] Simplify pow(2.0, itofp(y)) to ldexp(1.0, y)
Aug 16 2019, 8:35 AM
evandro committed rL369120: [InstCombine] Simplify pow(2.0, itofp(y)) to ldexp(1.0, y).
[InstCombine] Simplify pow(2.0, itofp(y)) to ldexp(1.0, y)
Aug 16 2019, 8:35 AM
evandro closed D65979: [InstCombine] Simplify pow(2.0, itofp(y)) to ldexp(1.0, y).
Aug 16 2019, 8:35 AMRestricted Project
evandro added a comment to D65979: [InstCombine] Simplify pow(2.0, itofp(y)) to ldexp(1.0, y).

Thank you.

Aug 16 2019, 8:35 AMRestricted Project

Aug 15 2019

evandro updated the diff for D60295: [CodeGen] Replace -max-jump-table-size with -max-jump-table-targets.
Aug 15 2019, 6:08 PMRestricted Project
evandro added inline comments to D60295: [CodeGen] Replace -max-jump-table-size with -max-jump-table-targets.
Aug 15 2019, 6:06 PMRestricted Project

Aug 13 2019

evandro added a comment to D60295: [CodeGen] Replace -max-jump-table-size with -max-jump-table-targets.

Ping鉂 馃敂馃敂馃敂

Aug 13 2019, 6:24 PMRestricted Project

Aug 9 2019

evandro updated the diff for D65979: [InstCombine] Simplify pow(2.0, itofp(y)) to ldexp(1.0, y).
Aug 9 2019, 11:39 AMRestricted Project
evandro committed rG59fbe516bd03: [InstCombine] Refactor optimizeExp2() (NFC) (authored by evandro).
[InstCombine] Refactor optimizeExp2() (NFC)
Aug 9 2019, 10:24 AM
evandro committed rL368457: [InstCombine] Refactor optimizeExp2() (NFC).
[InstCombine] Refactor optimizeExp2() (NFC)
Aug 9 2019, 10:22 AM
evandro committed rG8a2121417486: [Transforms] Add a emitBinaryFloatFnCall() version that fetches the function鈥 (authored by evandro).
[Transforms] Add a emitBinaryFloatFnCall() version that fetches the function鈥
Aug 9 2019, 10:07 AM
evandro committed rL368453: [Transforms] Add a emitBinaryFloatFnCall() version that fetches the function鈥.
[Transforms] Add a emitBinaryFloatFnCall() version that fetches the function鈥
Aug 9 2019, 10:07 AM
evandro closed D65976: [Transforms] Add a emitBinaryFloatFnCall() version that fetches the function name from TLI.
Aug 9 2019, 10:07 AMRestricted Project
evandro committed rG04c0862aa1bc: [Transforms] Fix comments for hasFloatFn() and getFloatFnName() (NFC) (authored by evandro).
[Transforms] Fix comments for hasFloatFn() and getFloatFnName() (NFC)
Aug 9 2019, 9:59 AM
evandro committed rL368452: [Transforms] Fix comments for hasFloatFn() and getFloatFnName() (NFC).
[Transforms] Fix comments for hasFloatFn() and getFloatFnName() (NFC)
Aug 9 2019, 9:58 AM
evandro added inline comments to D65979: [InstCombine] Simplify pow(2.0, itofp(y)) to ldexp(1.0, y).
Aug 9 2019, 9:51 AMRestricted Project
evandro updated the diff for D65979: [InstCombine] Simplify pow(2.0, itofp(y)) to ldexp(1.0, y).
Aug 9 2019, 9:51 AMRestricted Project
evandro added a comment to D65979: [InstCombine] Simplify pow(2.0, itofp(y)) to ldexp(1.0, y).

Since exp2(itofp(x) is similarly simplified into ldexp(1.0, x) without accounting for any relaxation, methinks that this simplification should be fine too. Will note this.

Aug 9 2019, 9:50 AMRestricted Project
evandro updated the diff for D65976: [Transforms] Add a emitBinaryFloatFnCall() version that fetches the function name from TLI.
Aug 9 2019, 9:42 AMRestricted Project
evandro added inline comments to D65976: [Transforms] Add a emitBinaryFloatFnCall() version that fetches the function name from TLI.
Aug 9 2019, 9:40 AMRestricted Project
evandro committed rGc6c00cdf2e7e: [Transforms] Rename hasUnaryFloatFn() and getUnaryFloatFn() (NFC) (authored by evandro).
[Transforms] Rename hasUnaryFloatFn() and getUnaryFloatFn() (NFC)
Aug 9 2019, 9:05 AM
evandro committed rL368449: [Transforms] Rename hasUnaryFloatFn() and getUnaryFloatFn() (NFC).
[Transforms] Rename hasUnaryFloatFn() and getUnaryFloatFn() (NFC)
Aug 9 2019, 9:05 AM

Aug 8 2019

evandro created D65979: [InstCombine] Simplify pow(2.0, itofp(y)) to ldexp(1.0, y).
Aug 8 2019, 3:11 PMRestricted Project
evandro added inline comments to D65976: [Transforms] Add a emitBinaryFloatFnCall() version that fetches the function name from TLI.
Aug 8 2019, 3:06 PMRestricted Project
evandro created D65976: [Transforms] Add a emitBinaryFloatFnCall() version that fetches the function name from TLI.
Aug 8 2019, 2:26 PMRestricted Project

Aug 7 2019

evandro added a comment to D49273: [InstCombine] Expand the simplification of pow() into exp2().

Oh right, we miss this for pow of two bases other than 2.0.

Yeah, we need a direct fold.

Aug 7 2019, 2:10 PMRestricted Project
evandro added a comment to D49273: [InstCombine] Expand the simplification of pow() into exp2().

We have exp to ldexp fold, so we indirectly fold pow integer case to ldexp. I think it is okay as is.

Aug 7 2019, 1:55 PMRestricted Project
evandro added a comment to D49273: [InstCombine] Expand the simplification of pow() into exp2().

Hello, ldexp seems to be faster here. Did you try it?

pow(2, e) to ldexp(1, e)

Aug 7 2019, 1:37 PMRestricted Project

Aug 6 2019

evandro updated the summary of D60295: [CodeGen] Replace -max-jump-table-size with -max-jump-table-targets.
Aug 6 2019, 6:39 PMRestricted Project
evandro updated the diff for D60295: [CodeGen] Replace -max-jump-table-size with -max-jump-table-targets.
Aug 6 2019, 6:08 PMRestricted Project
evandro added inline comments to D60295: [CodeGen] Replace -max-jump-table-size with -max-jump-table-targets.
Aug 6 2019, 5:23 PMRestricted Project

Aug 5 2019

evandro committed rGa005c1ac4f3b: [AArch64] Expand bcmp() for small block lengths (authored by evandro).
[AArch64] Expand bcmp() for small block lengths
Aug 5 2019, 11:10 AM
evandro committed rL367898: [AArch64] Expand bcmp() for small block lengths.
[AArch64] Expand bcmp() for small block lengths
Aug 5 2019, 11:10 AM
evandro closed D64805: [AArch64] Expand bcmp() for small comparisons.
Aug 5 2019, 11:10 AMRestricted Project
evandro added inline comments to D64805: [AArch64] Expand bcmp() for small comparisons.
Aug 5 2019, 10:13 AMRestricted Project
evandro updated the diff for D64805: [AArch64] Expand bcmp() for small comparisons.
Aug 5 2019, 9:08 AMRestricted Project
evandro added a comment to D64805: [AArch64] Expand bcmp() for small comparisons.

Ping! 馃敂

Aug 5 2019, 8:07 AMRestricted Project

Jul 25 2019

evandro added a comment to D60295: [CodeGen] Replace -max-jump-table-size with -max-jump-table-targets.

馃敂 隆Ping! 馃敂

Jul 25 2019, 8:00 AMRestricted Project