[PATCH] D79775: [AsmPrinter] Handle foldable FP constant exprs in initializers.

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue May 12 06:24:54 PDT 2020


arsenm added inline comments.


================
Comment at: llvm/test/CodeGen/AArch64/complex-float-constexpr-global-initializer.ll:9-10
+ at g = global [1 x <2 x float>] [<2 x float>
+      <float fneg (float extractelement (<4 x float> bitcast (<1 x i128> <i128 1> to <4 x float>), i32 0)),
+       float fneg (float extractelement (<4 x float> bitcast (<1 x i128> <i128 84405977732242151929291748327801880576> to <4 x float>), i32 1))>]
+
----------------
Could use a case where the folded FP op is a vector


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D79775/new/

https://reviews.llvm.org/D79775





More information about the llvm-commits mailing list