# LLVM Weekly - #442, June 20th 2022

**URL:** <https://discourse.llvm.org/t/llvm-weekly-442-june-20th-2022/63308>\
**Category:** Newsletters\
**Tags:** llvm-weekly\
**Created:** [June 20, 2022, 5:12pm UTC](https://discourse.llvm.org/t/llvm-weekly-442-june-20th-2022/63308 "2022-06-20T17:12:12Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![asb](https://sea1.discourse-cdn.com/flex021/user_avatar/discourse.llvm.org/asb/32/2119_2.png) [@asb](https://discourse.llvm.org/u/asb)\
**Post date:** [June 20, 2022, 5:12pm UTC](https://discourse.llvm.org/t/llvm-weekly-442-june-20th-2022/63308/1 "2022-06-20T17:12:12Z")

</div>

# LLVM Weekly - #442, June 20th 2022

If you prefer, you can read a HTML version of this email at [http://llvmweekly.org/issue/442](http://llvmweekly.org/issue/442).

Welcome to the four hundred and forty-second issue of LLVM Weekly, a weekly newsletter (published every Monday) covering developments in LLVM, Clang, and related projects. LLVM Weekly is brought to you by [Alex Bradbury](https://www.linkedin.com/in/alex-bradbury/). Subscribe to future issues at [http://llvmweekly.org](http://llvmweekly.org) and pass it on to anyone else you think may be interested. Please send any tips or feedback to [asb@asbradbury.org](mailto:asb@asbradbury.org), or @llvmweekly or @asbradbury on Twitter.

## News and articles from around the web

The June Women in Compilers and Tools meetup will [feature Angélica Moreira presenting “Static profiling: why should you try it?”](https://www.meetup.com/meetup-group-ifwtlvwd/events/286633180/).

The LLVM Bay Area meetups are [restarting](https://discourse.llvm.org/t/llvm-bay-area-monthly-meetup-mon-july-11-22-6pm/63193), with the first to take place on July 11th. RSVPing is recommended.

The 2022 Clang-Built Linux Meetup will [take place](https://discourse.llvm.org/t/2022-clang-built-linux-meetup-in-dublin-ireland/63157) in Dublin, Ireland on September 10th-11th. Registration is now open.

## On the forums

- Tanya Lattner (on behalf of the LLVM Foundation Board of Directors) posted a [response to the move to Discourse retrospective](https://discourse.llvm.org/t/response-to-the-move-to-discourse-retrospective/63159), addressing the feedback collected during that exercise.

- Kristof Beyls announced that [an LLVM community events calendar has been created](https://discourse.llvm.org/t/llvm-community-events-calendar/63237), aiming to include all online sync-ups, office hours, meetups, etc.

- Nikita Popov proposed [removing most constant expressions in LLVM IR](https://discourse.llvm.org/t/rfc-remove-most-constant-expressions/63179). Initial response has been positive about this direction. Chris Lattner also provided some [historical perspective on pointer types in LLVM IR](https://discourse.llvm.org/t/rfc-remove-most-constant-expressions/63179).

- Stella Laurenzo shared a [patch to fix deprecation errors in Arcanist on PHP8](https://discourse.llvm.org/t/arcanist-deprecation-errors-on-php-8/63231). Shoaib Meenai suggested [moz-phab](https://github.com/mozilla-conduit/review/blob/main/README.md) as an alternative.

- Jeff Niu posted an RFC on [removing types in MLIR in favour of attributes](https://discourse.llvm.org/t/rfc-remove-types/63274). There are quite divergent views in the discussion thread currently.

- Mehdi Amini suggests [adding a new dense array attribute](https://discourse.llvm.org/t/rfc-introduce-a-new-dense-array-attribute/63279) to MLIR.

- LLVM GPU News #36 [is out](https://discourse.llvm.org/t/llvm-gpu-news-36-june-17-2022/63300/1).

## LLVM commits

- More documentation about the motivation behind opaque pointers was added. [47bfc36](https://reviews.llvm.org/rG47bfc365fc84).

- New gen-dxil-enum and gen-dxil-intrinsic-map TableGen backends were added. [435897b](https://reviews.llvm.org/rG435897b41d60), [264c09b](https://reviews.llvm.org/rG264c09b732ab).

- `_Float16` support was enabled on X86 (after being reverted and recommitted many times!). [655ba9c](https://reviews.llvm.org/rG655ba9c8a1d2).

- bf16 is now promoted to f32 when the target doesn’t support it. [fb34d53](https://reviews.llvm.org/rGfb34d531af95).

- A new `-cache-line-size=` option was added to opt and llc. [a9dccb0](https://reviews.llvm.org/rGa9dccb0072af).

- The symbolizer gained a parser for log symbolizer markup. [2040b6d](https://reviews.llvm.org/rG2040b6df0a3f).

- A DirectX target object writer was added. [2af61e6](https://reviews.llvm.org/rG2af61e620eea).

## Clang commits

- A new `-fdriver-only` flag was introduced. [c12577c](https://reviews.llvm.org/rGc12577c61dbf).

- The `clang::annotate_type` attribute was added, intended to be used to add arbitrary annotations to types for use in static analysis tools. [665da18](https://reviews.llvm.org/rG665da187ccf3).

- The clang-tidy documentation files were reorganised into subdirectories. [6e566bc](https://reviews.llvm.org/rG6e566bc5523f).

## Other project commits

- An entrypoint for LLVM libc’s printf was added, allowing a “hello world” program with just LLVM-libc to be built. [ad233c6](https://reviews.llvm.org/rGad233c6047fc).

- A generic data-flow analysis framework was added to MLIR. [ead75d9](https://reviews.llvm.org/rGead75d9434ec).

- A status page was added for math functions in LLVM’s libc. [72c1eff](https://reviews.llvm.org/rG72c1effb34aa).

- The LLD MachO linker gained initial support for EH frames. [e183bf8](https://reviews.llvm.org/rGe183bf8e1599), [b422dac](https://reviews.llvm.org/rGb422dac240f1).
