HomePhabricator

[NVPTX] Fix some usages of CodeGenOpt::None.
AuditedrL267619

Description

[NVPTX] Fix some usages of CodeGenOpt::None.

NVPTXLowerKernelArgs is required for correctness, so it should not be guarded
by CodeGenOpt::None.

NVPTXPeephole is optimization only, so it should be skipped when
CodeGenOpt::None.

Details

Auditors
jlebar
Committed
jingyueApr 26 2016, 3:59 PM
Parents
rL267618: [LVI] A better fix for the assertion error introduced by 267609
Branches
Unknown
Tags
Unknown

Event Timeline

jlebar accepted this commit.Apr 26 2016, 4:10 PM
jlebar added a subscriber: jlebar.Apr 27 2016, 10:17 AM

(FYI, unsurprisingly, this fixes a bunch of test failures for me at -O0.)