This adds support for @llvm.log10 and updates relevant tests.
Basically identical to the existing log intrinsics.
Paths
| Differential D55392
[GlobalISel] Add IR translation support for the @llvm.log10 intrinsic ClosedPublic Authored by paquette on Dec 6 2018, 3:30 PM.
Details
Summary This adds support for @llvm.log10 and updates relevant tests. Basically identical to the existing log intrinsics.
Diff Detail Event TimelineHerald added subscribers: javed.absar, kristof.beyls, rovka. · View Herald TranscriptDec 6 2018, 3:30 PM This revision is now accepted and ready to land.Dec 7 2018, 10:40 AM Comment Actions Thanks. This patch looks good. Would be nice if there's test to make sure the G_FLOG10 is being selected as well. Comment Actions The patch title should probably say adding IR translation support instead of selection support. If we're adding selection support too then we should have a test case, otherwise it can be in a later patch. paquette retitled this revision from [GlobalISel] Add instruction selection support for the @llvm.log10 intrinsic to [GlobalISel] Add IR translation support for the @llvm.log10 intrinsic.Dec 7 2018, 2:03 PM Comment Actions @aemerson is right here. I got mixed up because I was just working through -Rpass-missed=gisel-select remarks in a test.
Revision Contents
Diff 177068 include/llvm/Support/TargetOpcodes.def
include/llvm/Target/GenericOpcodes.td
lib/CodeGen/GlobalISel/IRTranslator.cpp
test/CodeGen/AArch64/GlobalISel/arm64-irtranslator.ll
test/CodeGen/AArch64/GlobalISel/legalizer-info-validation.mir
|