[PATCH] D78900: [HIP][AMDGPU] Enable structurizer workarounds

Matt Arsenault via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Apr 27 14:34:14 PDT 2020


arsenm added inline comments.


================
Comment at: clang/lib/Driver/ToolChains/HIP.cpp:158
       Args.MakeArgString(Twine("-filetype=") + (OutputIsAsm ? "asm" : "obj")));
+  LlcArgs.push_back("--amdgpu-enable-structurizer-workarounds");
 
----------------
We should just flip this in the backend. llc flags are not intended for frontends to set options


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D78900





More information about the cfe-commits mailing list