This folds the following family of intrinsics:
llvm.amdgcn.cubeid (face id)
llvm.amdgcn.cubema (major axis)
llvm.amdgcn.cubesc (S coordinate)
llvm.amdgcn.cubetc (T coordinate)
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
llvm/lib/Analysis/ConstantFolding.cpp | ||
---|---|---|
2312 | Using host FP operations is generally frowned on, and this should use APFloat |
llvm/lib/Analysis/ConstantFolding.cpp | ||
---|---|---|
2312 | OK, but the APFloat API is horrible to use for anything more complicated than + - * /. |
llvm/lib/Analysis/ConstantFolding.cpp | ||
---|---|---|
2319–2322 | I moved it to APFloat::operator>= instead. |
Using host FP operations is generally frowned on, and this should use APFloat