[PATCH] D44727: [RISCV] Implement getTargetDefines, handleTargetFeatures and hasFeature for RISCVTargetInfo

Kito Cheng via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Mar 20 22:29:05 PDT 2018


kito-cheng created this revision.
kito-cheng added reviewers: asb, apazos.
Herald added subscribers: cfe-commits, shiva0217, niosHD, sabuasal, jordy.potman.lists, simoncook, johnrusso, rbar.
kito-cheng added a dependency: D44189: [RISCV] Verify the input value of -march=.

This patch implement getTargetDefines, handleTargetFeatures and hasFeature. and define corresponding marco for those features.


Repository:
  rC Clang

https://reviews.llvm.org/D44727

Files:
  lib/Basic/Targets/RISCV.cpp
  lib/Basic/Targets/RISCV.h
  test/Preprocessor/riscv-target-features.c

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D44727.139252.patch
Type: text/x-patch
Size: 3738 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20180321/34663631/attachment-0001.bin>


More information about the cfe-commits mailing list