Add an option to tell the compiler that it can use privileged instructions.
This patch only adds the option. Backend implementation will be added in a
future patch.
| Paths 
 |  Differential  D99193  
[PowerPC] Add mprivileged option ClosedPublic Authored by stefanp on Mar 23 2021, 8:44 AM. 
Details 
 Summary Add an option to tell the compiler that it can use privileged instructions. This patch only adds the option. Backend implementation will be added in a 
Diff Detail 
 Event TimelineHerald added subscribers: jansvoboda11, dang, shchenz and 2 others.  ·  View Herald TranscriptMar 23 2021, 8:44 AM Herald added projects: Restricted Project, Restricted Project.  ·  View Herald TranscriptMar 23 2021, 8:44 AM This revision is now accepted and ready to land.Mar 23 2021, 10:27 AM This revision was landed with ongoing or failed builds.Mar 24 2021, 6:33 AM Closed by commit rG91f4c1113350: [PowerPC] Add mprivileged option (authored by stefanp).  ·  Explain Why This revision was automatically updated to reflect the committed changes. 
Revision Contents 
 
 
Diff 332687 clang/include/clang/Driver/Options.td
 
 clang/lib/Basic/Targets/PPC.h
 clang/lib/Basic/Targets/PPC.cpp
 clang/test/Driver/ppc-mprivileged-support-check.c
 
 clang/test/Preprocessor/init-ppc64.c
 llvm/lib/Target/PowerPC/PPC.td
 llvm/lib/Target/PowerPC/PPCSubtarget.h
 llvm/lib/Target/PowerPC/PPCSubtarget.cpp
 llvm/test/CodeGen/PowerPC/future-check-features.ll
 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||