From db3c169f3a3102d40352ba63fd14a75c819c7adc Mon Sep 17 00:00:00 2001 From: Eli Friedman Date: Tue, 16 Jun 2009 06:58:29 +0000 Subject: Add some generic expansion logic for SMULO and UMULO. Fixes UMULO support for x86, and UMULO/SMULO for many architectures, including PPC (PR4201), ARM, and Cell. The resulting expansion isn't perfect, but it's not bad. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@73477 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/CodeGen/X86/umul-with-overflow.ll | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 test/CodeGen/X86/umul-with-overflow.ll (limited to 'test/CodeGen/X86/umul-with-overflow.ll') diff --git a/test/CodeGen/X86/umul-with-overflow.ll b/test/CodeGen/X86/umul-with-overflow.ll new file mode 100644 index 0000000000..9e69154f10 --- /dev/null +++ b/test/CodeGen/X86/umul-with-overflow.ll @@ -0,0 +1,8 @@ +; RUN: llvm-as < %s | llc -march=x86 | grep "\\\\\\\