aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Transforms/Utils/LoopVersioning.cpp
diff options
context:
space:
mode:
authorAditya Nandakumar <aditya_nandakumar@apple.com>2020-09-15 16:06:55 -0700
committerAditya Nandakumar <aditya_nandakumar@apple.com>2020-09-15 16:08:47 -0700
commit97203cfd6bae0388f9dd22ddca592737324a2c72 (patch)
treeac8bd4eb0b45d5d516cdffa4fe12db5a2a104f50 /llvm/lib/Transforms/Utils/LoopVersioning.cpp
parent61fc10d6a520f267e11009ce8fce88d73615796b (diff)
downloadllvm-97203cfd6bae0388f9dd22ddca592737324a2c72.zip
llvm-97203cfd6bae0388f9dd22ddca592737324a2c72.tar.gz
llvm-97203cfd6bae0388f9dd22ddca592737324a2c72.tar.bz2
[GISel] Add new GISel combiners for G_MUL
https://reviews.llvm.org/D87668 Patch adds two new GICombinerRules, one for G_MUL(X, 1) and another for G_MUL(X, -1). G_MUL(X, 1) is an identity combine, and G_MUL(X, -1) gets replaced with G_SUB(0, X). Patch additionally adds new combiner tests for the AArch64 target to test these new combiner rules, as well as updates AMDGPU GISel tests. Patch by mkitzan
Diffstat (limited to 'llvm/lib/Transforms/Utils/LoopVersioning.cpp')
0 files changed, 0 insertions, 0 deletions