Unverified Commit 67c1c1db authored by Nemanja Ivanovic's avatar Nemanja Ivanovic Committed by GitHub
Browse files

[PowerPC][X86] Make cpu id builtins target independent and lower for PPC (#68919)

Make __builtin_cpu_{init|supports|is} target independent and provide an
opt-in query for targets that want to support it. Each target is still
responsible for their specific lowering/code-gen. Also provide code-gen
for PowerPC.

I originally proposed this in https://reviews.llvm.org/D152914

 and this
addresses the comments I received there.

---------

Co-authored-by: default avatarNemanja Ivanovic <nemanjaivanovic@nemanjas-air.kpn>
Co-authored-by: default avatarNemanja Ivanovic <nemanja@synopsys.com>
parent c177507b
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment