OSDN Git Service

R600/SI: Use ISD::MUL instead of ISD::UMULO when lowering division
authorTom Stellard <thomas.stellard@amd.com>
Mon, 22 Sep 2014 15:35:30 +0000 (15:35 +0000)
committerTom Stellard <thomas.stellard@amd.com>
Mon, 22 Sep 2014 15:35:30 +0000 (15:35 +0000)
commite2badaf84fbfc49bdc541a8dd94e4d844e3246bb
treea3585a30cd0d529c4142c0917fab57a24185db54
parent2c4a45fa67fc996f5647426cf47662c114709e27
R600/SI: Use ISD::MUL instead of ISD::UMULO when lowering division

ISD::MUL and ISD:UMULO are the same except that UMULO sets an overflow
bit.  Since we aren't using the overflow bit, we should use ISD::MUL.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@218251 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/R600/AMDGPUISelLowering.cpp