Skip to content

Commit

Permalink
[VENTUS][fix]Assign initial value for VastartStoreFrameIndex
Browse files Browse the repository at this point in the history
VastartStoreFrameIndex havn't initial value, caused issue #117
  • Loading branch information
ziliangzl committed May 15, 2024
1 parent 279251d commit 60f3889
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion llvm/lib/Target/RISCV/RISCVISelLowering.h
Original file line number Diff line number Diff line change
Expand Up @@ -334,7 +334,7 @@ enum NodeType : unsigned {

class RISCVTargetLowering : public TargetLowering {
const RISCVSubtarget &Subtarget;
int *VastartStoreFrameIndex = new int;
int *VastartStoreFrameIndex = new int(INT_MAX);
public:
explicit RISCVTargetLowering(const TargetMachine &TM,
const RISCVSubtarget &STI);
Expand Down

0 comments on commit 60f3889

Please sign in to comment.