LLVM/project 832285aclang/include/clang/Lex Preprocessor.h MacroInfo.h, clang/lib/Lex PPMacroExpansion.cpp

[clang][NFC] Unify `MacroState` `isAmbiguous` and `getModuleInfo` (#197867)

Every call to `MacroState::getModuleInfo`, and `MacroState::isAmbiguous`
are paired in the same function. Rather than doing the same work twice,
just unify them into a single function, `getModuleInfo`, that returns
both pieces of information in a new type `ModuleMacroInfo`.

Unfortunately, `getModuleInfo` and`ModuleMacroInfo` already exist, so
rename them to `getFullModuleInfo` and `FullModuleMacroInfo`,
respectively, since the new type is a subset of the old type. The new
type contains just the pieces consumers care about.

While we're there, use the range constructor of `llvm::DenseSet` instead
of default constructing and calling `insert` in a loop.
DeltaFile
+23-30clang/include/clang/Lex/Preprocessor.h
+6-6clang/lib/Lex/PPMacroExpansion.cpp
+8-3clang/include/clang/Lex/MacroInfo.h
+37-393 files

LLVM/project 18332f1llvm/test/CodeGen/AMDGPU extract_vector_dynelt.ll vgpr-large-tuple-alloc-error.ll, llvm/test/CodeGen/X86 pcsections-atomics.ll

[RegAllocFast] Eliminate dead copies (#196056)

github issue: https://github.com/llvm/llvm-project/issues/168201

This patch extends copy elimination in **RegAllocFast** to catch an
additional class of redundant copies. Previously, only identity copies
(where source and destination registers are the same) were marked for
removal.

Now, we check whether the current instruction is dead and remove it if
it is.
The change:

- Updates the copy-elimination condition to include dead destination
operands.

- Improves debug output to be more generic.

This reduces unnecessary instructions and can lead to slightly better
codegen by eliminating dead copies earlier in the fast register
allocation pass.
DeltaFile
+628-728llvm/test/CodeGen/X86/pcsections-atomics.ll
+389-427llvm/test/CodeGen/AMDGPU/extract_vector_dynelt.ll
+296-312llvm/test/CodeGen/AMDGPU/vgpr-large-tuple-alloc-error.ll
+136-139llvm/test/CodeGen/AMDGPU/mubuf-legalize-operands-non-ptr-intrinsics.ll
+114-121llvm/test/CodeGen/AMDGPU/indirect-addressing-si.ll
+109-125llvm/test/CodeGen/AMDGPU/insert_vector_dynelt.ll
+1,672-1,85238 files not shown
+1,750-2,75344 files

LLVM/project 3c8d104llvm/lib/CodeGen/SelectionDAG TargetLowering.cpp

[DAG] SimplifyMultipleUseDemandedBits - use isIdentityElement to detect identity / fall through operands (#197952)

Now that isIdentityElement uses computeKnownBits we don't have to handle
this locally, and can handle all binops (inc smax/smin/umax/umin etc.)
at the same time
DeltaFile
+10-15llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
+10-151 files

FreeBSD/ports c8767b6sysutils/py-croniter Makefile

sysutils/py-croniter: Fix shebang

====> Running Q/A tests (stage-qa)
Error: '/usr/bin/env python' is an invalid shebang you need USES=shebangfix for 'lib/python3.11/site-packages/croniter/tests/test_croniter_speed.py'
Error: '/usr/bin/env python' is an invalid shebang you need USES=shebangfix for 'lib/python3.11/site-packages/croniter/tests/test_croniter_range.py'
Error: '/usr/bin/env python' is an invalid shebang you need USES=shebangfix for 'lib/python3.11/site-packages/croniter/tests/test_croniter.py'
Error: '/usr/bin/env python' is an invalid shebang you need USES=shebangfix for 'lib/python3.11/site-packages/croniter/tests/test_croniter_dst_repetition.py'
*** Error code 1

Approved by:    portmgr (blanket)
DeltaFile
+3-1sysutils/py-croniter/Makefile
+3-11 files

FreeBSD/ports f67db76www/rubygem-roda distinfo Makefile

www/rubygem-roda: Update to 3.104.0

Changes:        https://github.com/jeremyevans/roda/blob/master/CHANGELOG
                https://roda.jeremyevans.net/rdoc/files/CHANGELOG.html
DeltaFile
+3-3www/rubygem-roda/distinfo
+1-1www/rubygem-roda/Makefile
+4-42 files

FreeBSD/ports 52a7a08www/rubygem-jwt distinfo Makefile

www/rubygem-jwt: Update to 3.2.0

Changes:        https://github.com/jwt/ruby-jwt/releases
DeltaFile
+3-3www/rubygem-jwt/distinfo
+1-1www/rubygem-jwt/Makefile
+4-42 files

FreeBSD/ports 7caced1devel/rubygem-icalendar distinfo Makefile

devel/rubygem-icalendar: Update to 2.12.3

Changes:        https://github.com/icalendar/icalendar/blob/main/CHANGELOG.md
DeltaFile
+3-3devel/rubygem-icalendar/distinfo
+1-1devel/rubygem-icalendar/Makefile
+4-42 files

FreeBSD/ports 1604c6fsecurity/rubygem-openssl3 distinfo Makefile

security/rubygem-openssl3: Update to 3.3.3

Changes:        https://github.com/ruby/openssl/releases
                https://github.com/ruby/openssl/blob/master/History.md
DeltaFile
+3-3security/rubygem-openssl3/distinfo
+1-1security/rubygem-openssl3/Makefile
+4-42 files

FreeBSD/ports c52b32fsecurity/rubygem-openssl distinfo Makefile

security/rubygem-openssl: Update to 4.0.2

Changes:        https://github.com/ruby/openssl/releases
                https://github.com/ruby/openssl/blob/master/History.md
DeltaFile
+3-3security/rubygem-openssl/distinfo
+1-1security/rubygem-openssl/Makefile
+4-42 files

FreeBSD/ports fc204c0devel/rubygem-sorbet-runtime distinfo Makefile

devel/rubygem-sorbet-runtime: Update to 0.6.13220

Changes:        https://github.com/sorbet/sorbet/releases
DeltaFile
+3-3devel/rubygem-sorbet-runtime/distinfo
+1-1devel/rubygem-sorbet-runtime/Makefile
+4-42 files

FreeBSD/ports 92c96f7devel/rubygem-libdatadog distinfo Makefile, devel/rubygem-libdatadog/files patch-gemspec

devel/rubygem-libdatadog: Update to 33.0.0.1.0

Changes:        https://github.com/DataDog/libdatadog/releases
DeltaFile
+3-5devel/rubygem-libdatadog/files/patch-gemspec
+3-3devel/rubygem-libdatadog/distinfo
+1-1devel/rubygem-libdatadog/Makefile
+7-93 files

FreeBSD/ports 940fc52devel/rubygem-dry-configurable distinfo Makefile

devel/rubygem-dry-configurable: Update to 1.4.0

Changes:        https://github.com/dry-rb/dry-configurable/releases
DeltaFile
+3-3devel/rubygem-dry-configurable/distinfo
+2-2devel/rubygem-dry-configurable/Makefile
+5-52 files

FreeBSD/ports 144b979devel/rubygem-datadog distinfo Makefile

devel/rubygem-datadog: Update to 2.33.0

Changes:        https://github.com/DataDog/dd-trace-rb/releases
DeltaFile
+3-3devel/rubygem-datadog/distinfo
+2-2devel/rubygem-datadog/Makefile
+5-52 files

FreeBSD/ports fb4dfaddevel/rubygem-bootsnap distinfo Makefile

devel/rubygem-bootsnap: Update to 1.24.4

Changes:        https://github.com/rails/bootsnap/releases
DeltaFile
+3-3devel/rubygem-bootsnap/distinfo
+1-1devel/rubygem-bootsnap/Makefile
+4-42 files

FreeBSD/ports 5a31da5devel/rubygem-aws-sdk-xray distinfo Makefile

devel/rubygem-aws-sdk-xray: Update to 1.98.0

Changes:        https://github.com/aws/aws-sdk-ruby/blob/version-3/gems/aws-sdk-xray/CHANGELOG.md
DeltaFile
+3-3devel/rubygem-aws-sdk-xray/distinfo
+2-2devel/rubygem-aws-sdk-xray/Makefile
+5-52 files

FreeBSD/ports 3c2529cdevel/rubygem-aws-sdk-workspacesweb distinfo Makefile

devel/rubygem-aws-sdk-workspacesweb: Update to 1.62.0

Changes:        https://github.com/aws/aws-sdk-ruby/blob/version-3/gems/aws-sdk-workspacesweb/CHANGELOG.md
DeltaFile
+3-3devel/rubygem-aws-sdk-workspacesweb/distinfo
+2-2devel/rubygem-aws-sdk-workspacesweb/Makefile
+5-52 files

FreeBSD/ports 70c5953devel/rubygem-aws-sdk-workspacesthinclient distinfo Makefile

devel/rubygem-aws-sdk-workspacesthinclient: Update to 1.43.0

Changes:        https://github.com/aws/aws-sdk-ruby/blob/version-3/gems/aws-sdk-workspacesthinclient/CHANGELOG.md
DeltaFile
+3-3devel/rubygem-aws-sdk-workspacesthinclient/distinfo
+2-2devel/rubygem-aws-sdk-workspacesthinclient/Makefile
+5-52 files

FreeBSD/ports 5e607cbdevel/rubygem-aws-sdk-workspacesinstances distinfo Makefile

devel/rubygem-aws-sdk-workspacesinstances: Update to 1.14.0

Changes:        https://github.com/aws/aws-sdk-ruby/blob/version-3/gems/aws-sdk-workspacesinstances/CHANGELOG.md
DeltaFile
+3-3devel/rubygem-aws-sdk-workspacesinstances/distinfo
+2-2devel/rubygem-aws-sdk-workspacesinstances/Makefile
+5-52 files

FreeBSD/ports 45ef45bdevel/rubygem-aws-sdk-workspaces distinfo Makefile

devel/rubygem-aws-sdk-workspaces: Update to 1.157.0

Changes:        https://github.com/aws/aws-sdk-ruby/blob/version-3/gems/aws-sdk-workspaces/CHANGELOG.md
DeltaFile
+3-3devel/rubygem-aws-sdk-workspaces/distinfo
+2-2devel/rubygem-aws-sdk-workspaces/Makefile
+5-52 files

FreeBSD/ports d982b4fdevel/rubygem-aws-sdk-workmailmessageflow distinfo Makefile

devel/rubygem-aws-sdk-workmailmessageflow: Update to 1.66.0

Changes:        https://github.com/aws/aws-sdk-ruby/blob/version-3/gems/aws-sdk-workmailmessageflow/CHANGELOG.md
DeltaFile
+3-3devel/rubygem-aws-sdk-workmailmessageflow/distinfo
+2-2devel/rubygem-aws-sdk-workmailmessageflow/Makefile
+5-52 files

FreeBSD/ports 29d8406devel/rubygem-aws-sdk-workmail distinfo Makefile

devel/rubygem-aws-sdk-workmail: Update to 1.98.0

Changes:        https://github.com/aws/aws-sdk-ruby/blob/version-3/gems/aws-sdk-workmail/CHANGELOG.md
DeltaFile
+3-3devel/rubygem-aws-sdk-workmail/distinfo
+2-2devel/rubygem-aws-sdk-workmail/Makefile
+5-52 files

FreeBSD/ports 2b0af2cdevel/rubygem-aws-sdk-workdocs distinfo Makefile

devel/rubygem-aws-sdk-workdocs: Update to 1.88.0

Changes:        https://github.com/aws/aws-sdk-ruby/blob/version-3/gems/aws-sdk-workdocs/CHANGELOG.md
DeltaFile
+3-3devel/rubygem-aws-sdk-workdocs/distinfo
+2-2devel/rubygem-aws-sdk-workdocs/Makefile
+5-52 files

FreeBSD/ports 393dde1devel/rubygem-aws-sdk-wickr distinfo Makefile

devel/rubygem-aws-sdk-wickr: Update to 1.6.0

Changes:        https://github.com/aws/aws-sdk-ruby/blob/version-3/gems/aws-sdk-wickr/CHANGELOG.md
DeltaFile
+3-3devel/rubygem-aws-sdk-wickr/distinfo
+2-2devel/rubygem-aws-sdk-wickr/Makefile
+5-52 files

FreeBSD/ports 7d5122cdevel/rubygem-aws-sdk-wellarchitected distinfo Makefile

devel/rubygem-aws-sdk-wellarchitected: Update to 1.67.0

Changes:        https://github.com/aws/aws-sdk-ruby/blob/version-3/gems/aws-sdk-wellarchitected/CHANGELOG.md
DeltaFile
+3-3devel/rubygem-aws-sdk-wellarchitected/distinfo
+2-2devel/rubygem-aws-sdk-wellarchitected/Makefile
+5-52 files

FreeBSD/ports 7367a5cdevel/rubygem-aws-sdk-wafv2 distinfo Makefile

devel/rubygem-aws-sdk-wafv2: Update to 1.128.0

Changes:        https://github.com/aws/aws-sdk-ruby/blob/version-3/gems/aws-sdk-wafv2/CHANGELOG.md
DeltaFile
+3-3devel/rubygem-aws-sdk-wafv2/distinfo
+2-2devel/rubygem-aws-sdk-wafv2/Makefile
+5-52 files

FreeBSD/ports 7ba8577devel/rubygem-aws-sdk-wafregional distinfo Makefile

devel/rubygem-aws-sdk-wafregional: Update to 1.93.0

Changes:        https://github.com/aws/aws-sdk-ruby/blob/version-3/gems/aws-sdk-wafregional/CHANGELOG.md
DeltaFile
+3-3devel/rubygem-aws-sdk-wafregional/distinfo
+2-2devel/rubygem-aws-sdk-wafregional/Makefile
+5-52 files

FreeBSD/ports 2fd2571devel/rubygem-aws-sdk-waf distinfo Makefile

devel/rubygem-aws-sdk-waf: Update to 1.92.0

Changes:        https://github.com/aws/aws-sdk-ruby/blob/version-3/gems/aws-sdk-waf/CHANGELOG.md
DeltaFile
+3-3devel/rubygem-aws-sdk-waf/distinfo
+2-2devel/rubygem-aws-sdk-waf/Makefile
+5-52 files

FreeBSD/ports 2be61d3devel/rubygem-aws-sdk-vpclattice distinfo Makefile

devel/rubygem-aws-sdk-vpclattice: Update to 1.47.0

Changes:        https://github.com/aws/aws-sdk-ruby/blob/version-3/gems/aws-sdk-vpclattice/CHANGELOG.md
DeltaFile
+3-3devel/rubygem-aws-sdk-vpclattice/distinfo
+2-2devel/rubygem-aws-sdk-vpclattice/Makefile
+5-52 files

FreeBSD/ports 3451cc8devel/rubygem-aws-sdk-voiceid distinfo Makefile

devel/rubygem-aws-sdk-voiceid: Update to 1.56.0

Changes:        https://github.com/aws/aws-sdk-ruby/blob/version-3/gems/aws-sdk-voiceid/CHANGELOG.md
DeltaFile
+3-3devel/rubygem-aws-sdk-voiceid/distinfo
+2-2devel/rubygem-aws-sdk-voiceid/Makefile
+5-52 files

FreeBSD/ports c5fbddcdevel/rubygem-aws-sdk-verifiedpermissions distinfo Makefile

devel/rubygem-aws-sdk-verifiedpermissions: Update to 1.64.0

Changes:        https://github.com/aws/aws-sdk-ruby/blob/version-3/gems/aws-sdk-verifiedpermissions/CHANGELOG.md
DeltaFile
+3-3devel/rubygem-aws-sdk-verifiedpermissions/distinfo
+2-2devel/rubygem-aws-sdk-verifiedpermissions/Makefile
+5-52 files