[clang] [llvm] [IR] Memory locations for floating-point operations (PR #226826)

Serge Pavlov via cfe-commits cfe-commits at lists.llvm.org
Mon Oct 12 02:55:26 PDT 2026


================
@@ -148,3 +148,33 @@ declare void @fn_write_target_mem_read_write()
 ; CHECK: @fn_all_readwrite
 declare void @fn_all_readwrite()
     memory(readwrite, target_mem: read)
+
+; CHECK: Function Attrs: memory(fpcontrol: read)
+; CHECK: @fn_read_fpcontrol
+declare void @fn_read_fpcontrol()
----------------
spavloff wrote:

The new test cases were added.

https://github.com/llvm/llvm-project/pull/226826


More information about the cfe-commits mailing list