OSDN Git Service

[InstCombine] add baseline tests for (X << Y) / X -> 1 << Y; NFC
authorSanjay Patel <spatel@rotateright.com>
Sat, 20 Jan 2018 16:13:40 +0000 (16:13 +0000)
committerSanjay Patel <spatel@rotateright.com>
Sat, 20 Jan 2018 16:13:40 +0000 (16:13 +0000)
commit58ea0e72d4f70fd15f6fcc5be324b92d38a9997a
tree076346717edd979af8bb9fae31b1359231579e7c
parente64dbcb7afbe173aabb390f409c037a78a9ffd74
[InstCombine] add baseline tests for (X << Y) / X -> 1 << Y; NFC

This fold is proposed in D42032.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@323043 91177308-0d34-0410-b5e6-96231b3b80d8
test/Transforms/InstCombine/div-shift.ll