We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4b077ed commit bffc0b6Copy full SHA for bffc0b6
llvm/lib/Target/RISCV/RISCVSubtarget.h
@@ -254,6 +254,7 @@ class RISCVSubtarget : public RISCVGenSubtargetInfo {
254
const LegalizerInfo *getLegalizerInfo() const override;
255
const RegisterBankInfo *getRegBankInfo() const override;
256
257
+ bool isTargetAndroid() const { return getTargetTriple().isAndroid(); }
258
bool isTargetFuchsia() const { return getTargetTriple().isOSFuchsia(); }
259
260
bool useConstantPoolForLargeInts() const;
0 commit comments