[llvm] [AMDGPU] Add a trap lowering workaround for gfx11 (PR #85854)

Emma Pilkington via llvm-commits llvm-commits at lists.llvm.org
Wed Apr 17 12:28:58 PDT 2024


================
@@ -303,6 +303,12 @@ def FeatureMSAALoadDstSelBug : SubtargetFeature<"msaa-load-dst-sel-bug",
   "MSAA loads not honoring dst_sel bug"
 >;
 
+def FeaturePrivEnabledBug : SubtargetFeature<"priv-enabled-bug",
----------------
epilk wrote:

The reason we need a simulated trap is because priv=1 is enabled, but AFAIK simulated trap is the only effect of that we care about. Would you prefer naming this FeatureTrap2NopBug or something like that?

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


More information about the llvm-commits mailing list