[GHC] #5598: Function quotRem is inefficient
GHC
cvs-ghc at haskell.org
Thu Feb 16 12:15:28 CET 2012
#5598: Function quotRem is inefficient
----------------------------------------------+-----------------------------
Reporter: boris | Owner: igloo
Type: task | Status: new
Priority: normal | Milestone: 7.6.1
Component: Compiler | Version: 7.0.3
Keywords: division, performance, primop | Os: Unknown/Multiple
Architecture: x86 | Failure: Runtime performance bug
Difficulty: Unknown | Testcase:
Blockedby: | Blocking:
Related: |
----------------------------------------------+-----------------------------
Comment(by rl):
Have you looked at the output of LLVM's optimiser and verified that the
load is still there? If LLVM can't remove it, it's because it thinks the
store might alias the load. That should be fixed by David's TBAA patches.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/5598#comment:13>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the Glasgow-haskell-bugs
mailing list