[llvm-bugs] [Bug 40451] New: crash mixing funny x86 sse flags

via llvm-bugs llvm-bugs at lists.llvm.org
Thu Jan 24 15:55:39 PST 2019


https://bugs.llvm.org/show_bug.cgi?id=40451

            Bug ID: 40451
           Summary: crash mixing funny x86 sse flags
           Product: clang
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Driver
          Assignee: unassignedclangbugs at nondot.org
          Reporter: ndesaulniers at google.com
                CC: llvm-bugs at lists.llvm.org, neeilans at live.com,
                    richard-llvm at metafoo.co.uk

Reproducer

// clang -c -O2 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -m64 -msse float.c
double div (double a, double b) {                                               
  return b / a;                                                                 
}

float.c:1:8: error: SSE2 register return with SSE2 disabled
double div (double a, double b) {
...
3.      Running pass 'Function Pass Manager' on module 'float.c'.
4.      Running pass 'X86 FP Stackifier' on function '@div'
...
/android0/llvm-project/llvm/build/bin/clang-9(llvm::MachineFunctionPass::runOnFunction(llvm::Function&)+0x217)[0x2cfd127]
/android0/llvm-project/llvm/build/bin/clang-9(llvm::FPPassManager::runOnFunction(llvm::Function&)+0x1f4)[0x31e8804]

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20190124/d63c43d6/attachment.html>


More information about the llvm-bugs mailing list