[all-commits] [llvm/llvm-project] 4ff6a9: refactor EmitPPCBuiltinCpu
Wael Yehia via All-commits
all-commits at lists.llvm.org
Thu Mar 12 19:58:55 PDT 2026
Branch: refs/heads/users/w2yehia/fmv
Home: https://github.com/llvm/llvm-project
Commit: 4ff6a9bb683c64b731d74c4efd0d93bf249b553c
https://github.com/llvm/llvm-project/commit/4ff6a9bb683c64b731d74c4efd0d93bf249b553c
Author: Wael Yehia <wyehia at ca.ibm.com>
Date: 2026-03-13 (Fri, 13 Mar 2026)
Changed paths:
M clang/lib/CodeGen/CodeGenFunction.h
M clang/lib/CodeGen/TargetBuiltins/PPC.cpp
Log Message:
-----------
refactor EmitPPCBuiltinCpu
Commit: aef34e443477ad9e705ecb66cd5f297d71d497d9
https://github.com/llvm/llvm-project/commit/aef34e443477ad9e705ecb66cd5f297d71d497d9
Author: Wael Yehia <wyehia at ca.ibm.com>
Date: 2026-03-13 (Fri, 13 Mar 2026)
Changed paths:
M clang/include/clang/Basic/TargetInfo.h
M clang/include/clang/Sema/SemaPPC.h
M clang/lib/AST/ASTContext.cpp
M clang/lib/Basic/Targets/PPC.cpp
M clang/lib/Basic/Targets/PPC.h
M clang/lib/CodeGen/CodeGenFunction.cpp
M clang/lib/CodeGen/CodeGenFunction.h
M clang/lib/CodeGen/CodeGenModule.cpp
M clang/lib/CodeGen/Targets/PPC.cpp
M clang/lib/Sema/SemaDeclAttr.cpp
M clang/lib/Sema/SemaPPC.cpp
Log Message:
-----------
clang codegen for target_clones
Commit: 4e62d88463187ecf4fcc0898280e29f14d514c36
https://github.com/llvm/llvm-project/commit/4e62d88463187ecf4fcc0898280e29f14d514c36
Author: Wael Yehia <wyehia at ca.ibm.com>
Date: 2026-03-13 (Fri, 13 Mar 2026)
Changed paths:
M clang/lib/CodeGen/CodeGenModule.cpp
Log Message:
-----------
ignore target_clones on a declaration and internalize the resolver and the clones
Commit: 0813d6533a846e9cd582079929cd78567561a2e5
https://github.com/llvm/llvm-project/commit/0813d6533a846e9cd582079929cd78567561a2e5
Author: Wael Yehia <wyehia at ca.ibm.com>
Date: 2026-03-13 (Fri, 13 Mar 2026)
Changed paths:
M clang/lib/Basic/Targets/PPC.cpp
Log Message:
-----------
fix PPCTargetInfo::parseTargetAttr
Commit: c46dc5c709190d4bbbc287cc16b10b7e596997cb
https://github.com/llvm/llvm-project/commit/c46dc5c709190d4bbbc287cc16b10b7e596997cb
Author: Wael Yehia <wyehia at ca.ibm.com>
Date: 2026-03-13 (Fri, 13 Mar 2026)
Changed paths:
M clang/test/Sema/attr-target.c
Log Message:
-----------
fix Sema/attr-target.c
Commit: dcb0c9262ff8847daaec83b13dc94d92ca8e3786
https://github.com/llvm/llvm-project/commit/dcb0c9262ff8847daaec83b13dc94d92ca8e3786
Author: Wael Yehia <wyehia at ca.ibm.com>
Date: 2026-03-13 (Fri, 13 Mar 2026)
Changed paths:
M clang/lib/AST/ASTContext.cpp
M clang/lib/Basic/Targets/PPC.cpp
M clang/lib/CodeGen/CodeGenFunction.cpp
M clang/lib/CodeGen/CodeGenFunction.h
M clang/lib/CodeGen/CodeGenModule.cpp
M clang/lib/CodeGen/TargetBuiltins/PPC.cpp
M clang/lib/CodeGen/Targets/PPC.cpp
Log Message:
-----------
clang-format
Commit: b3be1240061edf5a4318877a92cd6ac6bee4460b
https://github.com/llvm/llvm-project/commit/b3be1240061edf5a4318877a92cd6ac6bee4460b
Author: Wael Yehia <wyehia at ca.ibm.com>
Date: 2026-03-13 (Fri, 13 Mar 2026)
Changed paths:
M clang/lib/Basic/Targets/PPC.cpp
Log Message:
-----------
normalize the CPU name on the target* attribute
Commit: 1322dd973266b955070a24e0af2d3392bf3a78c4
https://github.com/llvm/llvm-project/commit/1322dd973266b955070a24e0af2d3392bf3a78c4
Author: Wael Yehia <wyehia at ca.ibm.com>
Date: 2026-03-13 (Fri, 13 Mar 2026)
Changed paths:
M clang/lib/AST/ASTContext.cpp
M clang/lib/Basic/Targets/PPC.cpp
M clang/lib/CodeGen/CodeGenFunction.cpp
M clang/lib/CodeGen/Targets/PPC.cpp
M clang/lib/Sema/SemaPPC.cpp
Log Message:
-----------
limit support to cpu-only versions, and implement getFMVPriority
Commit: d898e694b4a382ca41613e893beff4698bca547a
https://github.com/llvm/llvm-project/commit/d898e694b4a382ca41613e893beff4698bca547a
Author: Wael Yehia <wyehia at ca.ibm.com>
Date: 2026-03-13 (Fri, 13 Mar 2026)
Changed paths:
M clang/lib/CodeGen/CodeGenModule.cpp
Log Message:
-----------
Handle case when an FMV function is declared, used, then defined by:
fixing getMangledNameImpl such that it does not need to special case for FMV declarations because GetOrCreateLLVMFunction already can return the non-mangled name of declared FMV functions
Commit: caf6c943b2db400b5246e71631ed37437ce128e6
https://github.com/llvm/llvm-project/commit/caf6c943b2db400b5246e71631ed37437ce128e6
Author: Wael Yehia <wyehia at ca.ibm.com>
Date: 2026-03-13 (Fri, 13 Mar 2026)
Changed paths:
M clang/lib/CodeGen/CodeGenFunction.cpp
A clang/test/CodeGen/attr-target-clones-ppc.c
Log Message:
-----------
test
test
test
Commit: 268d3fbec0de9573c95b7af18ed5d8ccb71f20dd
https://github.com/llvm/llvm-project/commit/268d3fbec0de9573c95b7af18ed5d8ccb71f20dd
Author: Wael Yehia <wyehia at ca.ibm.com>
Date: 2026-03-13 (Fri, 13 Mar 2026)
Changed paths:
M clang/lib/CodeGen/CodeGenFunction.cpp
M clang/lib/CodeGen/Targets/PPC.cpp
M clang/lib/Sema/SemaPPC.cpp
Log Message:
-----------
clang-formt
Commit: 02257f6539c05e4796e2fe190f4d4fddec979a51
https://github.com/llvm/llvm-project/commit/02257f6539c05e4796e2fe190f4d4fddec979a51
Author: Wael Yehia <wyehia at ca.ibm.com>
Date: 2026-03-13 (Fri, 13 Mar 2026)
Changed paths:
M clang/test/CodeGen/attr-target-clones-ppc.c
Log Message:
-----------
add IR codegen test
Commit: 11313b0b352b57b4ea42acf97e1bf1ae715d5dc8
https://github.com/llvm/llvm-project/commit/11313b0b352b57b4ea42acf97e1bf1ae715d5dc8
Author: Wael Yehia <wyehia at ca.ibm.com>
Date: 2026-03-13 (Fri, 13 Mar 2026)
Changed paths:
M clang/include/clang/Basic/TargetInfo.h
M clang/lib/CodeGen/TargetBuiltins/PPC.cpp
Log Message:
-----------
code review
Commit: 07e2abc988a0cdc8c0a44b01c2e165fc41d0a2a6
https://github.com/llvm/llvm-project/commit/07e2abc988a0cdc8c0a44b01c2e165fc41d0a2a6
Author: Wael Yehia <wyehia at ca.ibm.com>
Date: 2026-03-13 (Fri, 13 Mar 2026)
Changed paths:
M clang/lib/CodeGen/CodeGenModule.cpp
Log Message:
-----------
inline the only call to IgnoreFMVOnADeclaration
Commit: eaf36ebf4f96db5490bca4d8b3a964a36465ffc4
https://github.com/llvm/llvm-project/commit/eaf36ebf4f96db5490bca4d8b3a964a36465ffc4
Author: Wael Yehia <wyehia at ca.ibm.com>
Date: 2026-03-13 (Fri, 13 Mar 2026)
Changed paths:
M clang/include/clang/Sema/SemaPPC.h
M clang/lib/Sema/SemaPPC.cpp
Log Message:
-----------
code review: add const to parameters
Commit: d900078db76ae9dab1a21ef66e1fad25fb404fa9
https://github.com/llvm/llvm-project/commit/d900078db76ae9dab1a21ef66e1fad25fb404fa9
Author: Wael Yehia <wyehia at ca.ibm.com>
Date: 2026-03-13 (Fri, 13 Mar 2026)
Changed paths:
M clang/lib/Sema/SemaPPC.cpp
Log Message:
-----------
checkTargetClonesAttr: compute TargetInfo once
Commit: 74e434202c0fc478afd529d09a46b595723a2731
https://github.com/llvm/llvm-project/commit/74e434202c0fc478afd529d09a46b595723a2731
Author: Wael Yehia <wyehia at ca.ibm.com>
Date: 2026-03-13 (Fri, 13 Mar 2026)
Changed paths:
M clang/include/clang/Sema/SemaPPC.h
M clang/lib/Basic/Targets/PPC.cpp
M clang/lib/Basic/Targets/PPC.h
M clang/lib/Sema/SemaDeclAttr.cpp
M clang/lib/Sema/SemaPPC.cpp
A clang/test/Sema/attr-target-clones-ppc.c
Log Message:
-----------
normalize CPU during Sema
fix Sema and create ppc target_clones tests based on the x86 test
Commit: 8a2f16aca304fce3972fdea438bc7a928533bba3
https://github.com/llvm/llvm-project/commit/8a2f16aca304fce3972fdea438bc7a928533bba3
Author: Wael Yehia <wyehia at ca.ibm.com>
Date: 2026-03-13 (Fri, 13 Mar 2026)
Changed paths:
M clang/lib/Basic/Targets/PPC.cpp
M clang/lib/CodeGen/CodeGenFunction.cpp
Log Message:
-----------
now that we normalize CPU on target_clones in Sema, remove normalization in codegen
Commit: 062947c7cd27e0a9620c1f7007cc2484593ebb70
https://github.com/llvm/llvm-project/commit/062947c7cd27e0a9620c1f7007cc2484593ebb70
Author: Wael Yehia <wyehia at ca.ibm.com>
Date: 2026-03-13 (Fri, 13 Mar 2026)
Changed paths:
M clang/lib/CodeGen/CodeGenModule.cpp
M clang/lib/Sema/SemaPPC.cpp
Log Message:
-----------
diagnose non-cpu strings in target_clones in Sema
Commit: 35b2e4f9ecfbfdd064ffc22d759b2013e55a1c64
https://github.com/llvm/llvm-project/commit/35b2e4f9ecfbfdd064ffc22d759b2013e55a1c64
Author: Wael Yehia <wyehia at ca.ibm.com>
Date: 2026-03-13 (Fri, 13 Mar 2026)
Changed paths:
M clang/lib/Sema/SemaPPC.cpp
Log Message:
-----------
create PPCTargetInfo::isTargetClonesSupportedCPU to filter out unsupported CPUs during Sema
Commit: cc711c87a374d7226148c2a036b4fe2823e910db
https://github.com/llvm/llvm-project/commit/cc711c87a374d7226148c2a036b4fe2823e910db
Author: Wael Yehia <wyehia at ca.ibm.com>
Date: 2026-03-13 (Fri, 13 Mar 2026)
Changed paths:
M clang/test/Sema/attr-target-clones-ppc.c
Log Message:
-----------
fix test
Commit: b2c678859fe25fa4f8228c061aa84cc7ee0d68ce
https://github.com/llvm/llvm-project/commit/b2c678859fe25fa4f8228c061aa84cc7ee0d68ce
Author: Wael Yehia <wyehia at ca.ibm.com>
Date: 2026-03-13 (Fri, 13 Mar 2026)
Changed paths:
M clang/test/CodeGen/attr-target-clones-ppc.c
Log Message:
-----------
test all supported CPUs
Commit: eb5f780a26d30fe0a5113412c5af74a728ba74b6
https://github.com/llvm/llvm-project/commit/eb5f780a26d30fe0a5113412c5af74a728ba74b6
Author: Wael Yehia <wyehia at ca.ibm.com>
Date: 2026-03-13 (Fri, 13 Mar 2026)
Changed paths:
M clang/lib/Basic/Targets/PPC.cpp
M clang/lib/Basic/Targets/PPC.h
M clang/lib/CodeGen/CodeGenFunction.cpp
M clang/lib/CodeGen/CodeGenModule.cpp
Log Message:
-----------
code review
code review
code review
Commit: 5c8c0736677bc33e7de807a170e810ad295598f2
https://github.com/llvm/llvm-project/commit/5c8c0736677bc33e7de807a170e810ad295598f2
Author: Wael Yehia <wyehia at ca.ibm.com>
Date: 2026-03-13 (Fri, 13 Mar 2026)
Changed paths:
M clang/include/clang/Basic/AttrDocs.td
Log Message:
-----------
update target_clones documentation
Compare: https://github.com/llvm/llvm-project/compare/75df2a82048d...5c8c0736677b
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list