https://llvm.org/bugs/show_bug.cgi?id=24544
Bug ID: 24544 Summary: PowerPC backend hits "Addend source register is not live!" assertion in PPCVSXFMAMutate.cpp:188 Product: libraries Version: trunk Hardware: PC OS: Linux Status: NEW Severity: normal Priority: P Component: Backend: PowerPC Assignee: unassignedb...@nondot.org Reporter: an...@samba.org CC: llvm-bugs@lists.llvm.org Classification: Unclassified The testcase below is hitting the following assert: clang: /home/anton/llvm/lib/Target/PowerPC/PPCVSXFMAMutate.cpp:188: bool {anonymous}::PPCVSXFMAMutate::processBlock(llvm::MachineBasicBlock&): Assertion `(!TargetRegisterInfo::isVirtualRegister(AddendSrcReg) || LIS->getInterval(AddendSrcReg).liveAt(FMAIdx)) && "Addend source register is not live!"' failed. when built with: # clang -O1 -ffast-math -c testcase.i # cat testcase.i typedef struct { } LSH_recall_t; typedef struct { } ptb_vec_t; int LSH_recall_init(LSH_recall_t * recall, int d_step, float d_min, float d_max, int M, int L, int T, float W) { double dist, r, p; int i, j, k; for (i = 0; i < d_step; i++) { dist = d_min + (d_max - d_min) * i / d_step; dist = W / sqrt(dist); p = p_col_helper(dist); } } -- You are receiving this mail because: You are on the CC list for the bug.
_______________________________________________ llvm-bugs mailing list llvm-bugs@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs