[PATCH] D47568: [Power9] Do the add-imm peephole for pseudo instruction DFLOADf32/DFLOADf64 and the store pair

Qing Shan Zhang via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu May 31 19:17:52 PDT 2018


steven.zhang added a comment.

Thank you for the comment. I will fix that. BTW, this is the right case to hit the assert. It seems that, clang put the floating variable into the TOC with some condition, which is different from gcc/xlc. I will deliver some other change to fix this issue.

float** __attribute__((visibility("hidden")))** FArr[10];

float getF() {

  return FArr[3] + 3.4f;

}


https://reviews.llvm.org/D47568





More information about the llvm-commits mailing list