summaryrefslogtreecommitdiffstats
path: root/llvm/test/Assembler/invalid_cast4.ll
Commit message (Collapse)AuthorAgeFilesLines
* Make "@name =" mandatory for globals in .ll files.Rafael Espindola2016-05-101-1/+1
| | | | | | | | | | | | | | | | | | | | | | | An oddity of the .ll syntax is that the "@var = " in @var = global i32 42 is optional. Writing just global i32 42 is equivalent to @0 = global i32 42 This means that there is a pretty big First set at the top level. The current implementation maintains it manually. I was trying to refactor it, but then started wondering why keep it a all. I personally find the above syntax confusing. It looks like something is missing. This patch removes the feature and simplifies the parser. llvm-svn: 269096
* IR: SrcTy == DstTy doesn't imply that a cast is validDavid Majnemer2015-02-161-0/+4
Cast validity depends on the cast's kind, not just its types. llvm-svn: 229366
OpenPOWER on IntegriCloud