]> granicus.if.org Git - clang/commit
Adds a test to verify that Clang does the optimization to use a
authorPreston Gurd <preston.gurd@intel.com>
Wed, 3 Oct 2012 16:37:56 +0000 (16:37 +0000)
committerPreston Gurd <preston.gurd@intel.com>
Wed, 3 Oct 2012 16:37:56 +0000 (16:37 +0000)
commitd73ea0b0c20ac745999604aa4818faa94905e926
treec1f3813885e485b86252782d2674ece380ac50fe
parentff63227817217cd33c587e054d4892285b8e00c6
Adds a test to verify that Clang does the optimization to use a
fast div/rem instruction (for Intel Atom).

Test case for llvm commit 165126.

Patch by Tyler Nowicki.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@165129 91177308-0d34-0410-b5e6-96231b3b80d8
test/CodeGen/atom-idiv-bypass.c [new file with mode: 0644]