[LLVMbugs] [Bug 673] NEW: Type inferencing bug necessitates redundant type cast on source operand
bugzilla-daemon at cs.uiuc.edu
bugzilla-daemon at cs.uiuc.edu
Sun Dec 4 00:37:36 PST 2005
http://llvm.cs.uiuc.edu/bugs/show_bug.cgi?id=673
Summary: Type inferencing bug necessitates redundant type cast on
source operand
Product: tools
Version: trunk
Platform: All
OS/Version: All
Status: NEW
Severity: minor
Priority: P2
Component: TableGen
AssignedTo: unassignedbugs at nondot.org
ReportedBy: evan.cheng at apple.com
See X86InstrInfo.td:
def OUT8ir : Ii8<0xE6, RawFrm, (ops i8imm:$port),
"out{b} {%al, $port|$port, %AL}",
[(writeport (i8 AL), (i8 imm:$port))]>,
Imp<[AL], []>;
The i8 type cast on $port in the isel pattern is unnecessary since the operand
type of i8imm:$port is i8. However tblgen cannot infer this. If the type case is
removed, tblgen asserts "Could not infer all types in pattern!" during DAG isel
generation.
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
More information about the llvm-bugs
mailing list