[PATCH] D97659: BPF: fix enum value 0 issue for __builtin_preserve_enum_value()

2021-03-01 Thread Yonghong Song via Phabricator via cfe-commits
This revision was landed with ongoing or failed builds. This revision was automatically updated to reflect the committed changes. Closed by commit rG283db5f0837d: BPF: fix enum value 0 issue for __builtin_preserve_enum_value() (authored by yonghong-song). Repository: rG LLVM Github Monorepo CH

[PATCH] D97659: BPF: fix enum value 0 issue for __builtin_preserve_enum_value()

2021-02-28 Thread Yonghong Song via Phabricator via cfe-commits
yonghong-song created this revision. yonghong-song added reviewers: ast, anakryiko. yonghong-song requested review of this revision. Herald added a project: clang. Herald added a subscriber: cfe-commits. Lorenz Bauer reported that the following code will have compilation error for bpf target: e