OSDN Git Service

[x86] add tests to show missing div/rem simplifications; NFC
authorSanjay Patel <spatel@rotateright.com>
Mon, 6 Mar 2017 15:50:07 +0000 (15:50 +0000)
committerSanjay Patel <spatel@rotateright.com>
Mon, 6 Mar 2017 15:50:07 +0000 (15:50 +0000)
commit86c2471b6880bf81e639641a6974dc18a68c309e
tree336f8207c367ec1f8ad9e540bf8a15075c84b92a
parent240ae8590d274b83414aff41944409873e8c66f9
[x86] add tests to show missing div/rem simplifications; NFC

These are not x86-specific, but the problem is not visible for all targets
because it is masked by other transforms. These can lead to compiler crashes.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@297017 91177308-0d34-0410-b5e6-96231b3b80d8
test/CodeGen/X86/div-rem-simplify.ll [new file with mode: 0644]