[LLVMbugs] [Bug 6336] SelectionDAG does not handle scalar second operand to sign_extend_inreg correctly

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Mon Mar 8 15:53:54 PST 2010


Dan Gohman <gohman at apple.com> changed:

           What    |Removed                     |Added
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID

--- Comment #4 from Dan Gohman <gohman at apple.com> 2010-03-08 17:53:54 CST ---
This patch isn't right.  Vector SIGN_EXTEND_INREG is expected to have a vector
type for the second operand.  A while ago I did try to change it to use a
scalar type here, and this change simplified some of the code, however it was
problematic because Legalize decides what to do by looking at this type, and on
most targets, it needs to do different things for vector and scalar.

Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

More information about the llvm-bugs mailing list