[flang-commits] [flang] [Flang] Extracting internal constants from scalar literals (PR #73829)

Mats Petersson via flang-commits flang-commits at lists.llvm.org
Mon Dec 11 12:49:46 PST 2023


================
@@ -0,0 +1,209 @@
+//===- ConstExtruder.cpp -----------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+#include "flang/Optimizer/Builder/BoxValue.h"
----------------
Leporacanthicus wrote:

So, the previous code did a bunch of creating an extended value and then getting the base value, which requires BoxValue.h  - I've removed it, and it compiles - but i'm not sure why it was there, so not 100% sure it's not required... :(

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


More information about the flang-commits mailing list