Back end portion of the second round of additions to altivec.h.
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
Comment Actions
One inline comment and then LGTM.
-eric
test/CodeGen/PowerPC/vsx-elementary-arith.ll | ||
---|---|---|
121–136 | Hrm. I'd suggest running this through the optimizer but since it's just using locals that don't have external visibility it might not work. Though if the instruction selector ever does any DCE on allocas then there's going to be a problem here. Might want to have it take arguments and return something? |
test/CodeGen/PowerPC/vsx-elementary-arith.ll | ||
---|---|---|
121–136 | OK, I'll split this up into two functions that return the result of the call to the builtin. Please let me know if you agree with that approach. |
Hrm. I'd suggest running this through the optimizer but since it's just using locals that don't have external visibility it might not work. Though if the instruction selector ever does any DCE on allocas then there's going to be a problem here. Might want to have it take arguments and return something?