LLVM Bugzilla is read-only and represents the historical archive of all LLVM issues filled before November 26, 2021. Use github to submit LLVM bugs

Bug 1529 - Recent vector codegen regression
Summary: Recent vector codegen regression
Status: RESOLVED FIXED
Alias: None
Product: libraries
Classification: Unclassified
Component: Common Code Generator Code (show other bugs)
Version: trunk
Hardware: Macintosh MacOS X
: P normal
Assignee: Unassigned LLVM Bugs
URL:
Keywords: compile-fail
Depends on:
Blocks:
 
Reported: 2007-06-26 11:53 PDT by Chris Lattner
Modified: 2010-02-22 12:47 PST (History)
2 users (show)

See Also:
Fixed By Commit(s):


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Lattner 2007-06-26 11:53:01 PDT
I assume this is due to Dan's recent patches:

$ llvm-as < test.ll | llc -march=ppc32 -mcpu=g5
..
/Volumes/ProjectsDisk/cvs/llvm/include/llvm/Target/TargetLowering.h:123: failed assertion `!
MVT::isExtendedValueType(VT)'


target datalayout = "E-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-f32:32:32-f64:32:64-
v64:64:64-v128:128:128-a0:0:64"
target triple = "powerpc-apple-darwin8.8.0"

define i32 @main() {
entry:
        br label %bb

bb:             ; preds = %bb, %entry
        br i1 false, label %bb15, label %bb

bb15:           ; preds = %bb15, %bb
        %tmp21 = add <8 x double> zeroinitializer, zeroinitializer              ; <<8 x double>> [#uses=1]
        br i1 false, label %bb15, label %bb30

bb30:           ; preds = %bb15
        store <8 x double> %tmp21, <8 x double>* null
        ret i32 0
}
Comment 1 Chris Lattner 2007-06-27 12:10:19 PDT
Dan's patch fixed this, thanks!
http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20070625/050788.html