[LLVMbugs] [Bug 18614] New: Enable the use of TBAA in CodeGen

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Sat Jan 25 11:35:34 PST 2014


            Bug ID: 18614
           Summary: Enable the use of TBAA in CodeGen
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: Common Code Generator Code
          Assignee: unassignedbugs at nondot.org
          Reporter: hfinkel at anl.gov
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

In r200093, I disabled the use of TBAA in CodeGen, because of underlying
correctness issues. Specifically:

  1. Stack coloring does not update TBAA when merging allocas. This is easy
     enough to fix, but is not the largest problem.

  2. CGP inserts ptrtoint/inttoptr pairs when sinking address computations.
Because BasicAA does not handle inttoptr, we'll often miss basic type punning
idioms that we need to catch so we don't miscompile real-world code (like

This second issue is the primary blocker, and can break self hosting (among
other things), especially when misched=shuffle is used.

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/20140125/1cb09ac5/attachment.html>

More information about the llvm-bugs mailing list